Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 15:20:41 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Victor Balada Diaz <victor@bsdes.net>
Cc:        hackers@freebsd.org
Subject:   Re: Missing dependencies on shared libraries
Message-ID:  <Pine.GSO.4.64.0604141520060.3907@sea.ntplx.net>
In-Reply-To: <20060414190010.GB702@pato.euesrg02.net>
References:  <20060414182846.GA702@pato.euesrg02.net> <Pine.GSO.4.64.0604141439280.3685@sea.ntplx.net> <20060414190010.GB702@pato.euesrg02.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0604141520060.3907>