Felipe Sateler, le Mon 23 Mar 2009 23:02:00 +1100, a écrit :
> [1] This actually surprised me. Could someone explain to me why are there 
> SONAMEs when they are not actually used? 

They are used when linking a program, to know which NEEDED should be
put.

> % ldd /usr/bin/creox | grep jack
>         libjack-0.100.0.so.0 => /usr/lib/libjack-0.100.0.so.0 
> (0x00007f943206f000)
> % ls -l /usr/lib/libjack-0.100.0.so.0
> lrwxrwxrwx 1 root root 12 2009-03-18 19:03 /usr/lib/libjack-0.100.0.so.0 -> 
> libjack.so.0
> % objdump -p /usr/lib/libjack-0.100.0.so.0 | grep SONAME
>   SONAME      libjack.so.0
> fel...@pcfelipe:csound%

No problem here.  But objdump -p /usr/bin/creox | grep jack shows NEEDED
libjack-0.100.0.so.0, that's where the linker looks.

Samuel


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to