Re: Missing dependencies on shared libraries



On Fri, Apr 14, 2006 at 03:20:41PM -0400, Daniel Eischen wrote:
On Fri, 14 Apr 2006, Victor Balada Diaz wrote:

On Fri, Apr 14, 2006 at 02:41:06PM -0400, Daniel Eischen wrote:
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.

Thanks for your fast reply.

I'm trying to create a dependency in some libraries, but it does
have the same problem as the libc. Is there any way to workaround it?

Well, you can always try adding -lc.

I tried, but it doesn't work. ldd continues to tell me that libc is
not a dependency, but if i use objdump -p it does appear as NEEDED.

--
La prueba mas fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Missing dependencies on shared libraries
    ... If you explicitly include libc on the command line ... libraries don't have libc recorded in them because we don't add -lc on ... Why isn't ldd showing the dependency? ... La prueba mas fehaciente de que existe vida inteligente en otros ...
    (freebsd-hackers)
  • Re: "-pthread" == "-lpthread" for shared libs in -CURRENT
    ... Recording dependency to libc_r or libc ... into shared libraries makes shared libraries that work in both threaded ... I think this would help to let firefox do some SSO stuff with kerberos (loading it as a plugin causes it to moan because some depending lib is not loaded, bsam@ should be able to explain the technical details). ...
    (freebsd-current)
  • Re: Missing dependencies on shared libraries
    ... I found that ldd doesn't report libc as a dependency on most ... I'm trying to create a dependency in some libraries, ... La prueba mas fehaciente de que existe vida inteligente en otros ...
    (freebsd-hackers)
  • Re: Missing dependencies on shared libraries
    ... I found that ldd doesn't report libc as a dependency on most ...
    (freebsd-hackers)
  • Re: Missing dependencies on shared libraries
    ... I found that ldd doesn't report libc as a dependency on most ... I'm trying to create a dependency in some libraries, ...
    (freebsd-hackers)