[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.2.14 linking against 2.1.x (ITS#3203)



At 12:16 PM 6/24/2004, jakob@openbsd.org wrote:
>On Thu, 24 Jun 2004, Kurt D. Zeilenga wrote:
>
>> At 10:30 AM 6/24/2004, Jakob Schlyter wrote:
>>> On Thu, 24 Jun 2004, Kurt D. Zeilenga wrote:
>>>
>>>>> When building OpenLDAP 2.2.14 on a machine with 2.1.x installed, 2.2.14 also
>>>>> links against the libraries from 2.1.x.
>>>>
>>>> How?  Directly or indirectly (e.g., through some non-OpenLDAP library)?
>>>
>>> libldap.so.7.7 (from 2.2.x) depends on liblber.so.2.130 (from 2.1.x). if I uninstall 2.1.x before building 2.2.x, the dependencies work as expected.
>>
>> What does the libldap.la file (from libraries/libldap) look
>> like?
>
>mrbill> cat libraries/libldap/libldap.la | grep -v ^# | grep -v ^$
>dlname='libldap-2.2.so.7.7'
>library_names='libldap-2.2.so.7.7 libldap.so.7.7'
>old_library='libldap.a'
>dependency_libs=' -L/usr/local/lib /local2/ports_work/openldap-2.2.14/build-i386/libraries/liblber/liblber.la -lssl -lcrypto '
>current=7
>age=0
>revision=7
>installed=no
>dlopen=''
>dlpreopen=''
>libdir='/usr/local/lib'

That looks fine.  What does objdump(1) (or like tool) say about
dependencies for the installed so?

Kurt