Missing dependencies on shared libraries

M. Warner Losh imp at bsdimp.com
Sat Apr 15 17:38:09 UTC 2006


In message: <Pine.GSO.4.64.0604141439280.3685 at sea.ntplx.net>
            Daniel Eischen <deischen at freebsd.org> writes:
: On Fri, 14 Apr 2006, Victor Balada Diaz wrote:
: 
: > Hi,
: > I found that ldd doesn't report libc as a dependency on most (all?)
: > libraries:
: >
: > pato> ldd /usr/lib/libfetch.so
: > /usr/lib/libfetch.so:
: >        libssl.so.3 => /usr/lib/libssl.so.3 (0x4816a000)
: >        libcrypto.so.3 => /lib/libcrypto.so.3 (0x48198000)
: >
: > does anyone know why?
: 
: AFAIK, it's being worked on.  It's not just libc either, -pthread
: also has to start linking to libpthread.

We don't record libc dependencies into shared libraries right now.  If
we did, that would create some problems and solve some problems.  With
symbol versioning, it most likely will become moot, since we'll never
have to bump libc major version again...

Warner


More information about the freebsd-hackers mailing list