Created shared lib, but ldd doesn't show static libs which added -l option

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    Created shared lib, but ldd doesn't show static libs which added -l option

    created a shared library .so file, using "gcc -shared ...." command, when I did "ldd xyz.so", I cannot see those static libs which are added with -l option, also I gave path -L/opt/lib where I copied all static libs (.a files), how can I see what are libs included in shared lib?.

    I have another post, where I posted ldd command output.
Working...