Missing dependencies on shared libraries

Daniel Eischen deischen at freebsd.org
Fri Apr 14 19:20:44 UTC 2006


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.

-- 
DE


More information about the freebsd-hackers mailing list