[No need to CC me, thanks] El 23/03/09 23:17 Samuel Thibault escribió: > 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 > > felipe@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. But why use the field when linking, and not use it when loading the shared object? I fail to see the rationale here. Why not just use the filename always? Saludos, Felipe Sateler
Attachment:
signature.asc
Description: This is a digitally signed message part.