On 16 Dec 2008, at 19:42, Joerg Sonnenberger wrote:
All ELF binaries do that for things outside "/usr/lib"./usr/lib and /lib in the case of NetBSD. Just to be pedantic.
It's not pedantic, it's wrong. ;-)
tron@colwyn:~>ldd /bin/ls
/bin/ls:
-lc.12 => /lib/libc.so.12
-lutil.7 => /lib/libutil.so.7
tron@colwyn:~>ldd /usr/bin/vi
/usr/bin/vi:
-lc.12 => /usr/lib/libc.so.12
-lcurses.6 => /usr/lib/libcurses.so.6
As you can see normal binaries (outside of "/bin" and "/sbin")
are not linked to look for libraries in "/lib". That is why
you need the symbolic link for "lib" in "/usr/lib".
Kind regards
--
Matthias Scheler http://zhadum.org.uk/