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

Re: problem with libldap.so



Okay, the ldd output looks okay now, but when pam_ldap tries to use the
library (for example, telneting in to the machine), the following error
comes up:

Assertion failed: LDAP_VALID( ld ), file unbind.c, line 40

and the connection closes.  What's up with this?

--Nick

Howard Chu wrote:

>>-----Original Message-----
>>From: owner-openldap-software@OpenLDAP.org
>>[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Nick Couchman
>>
>>
>
>
>
>>Igor Brezac wrote:
>>
>>
>>
>>>On Tue, 20 May 2003, Nick Couchman wrote:
>>>
>>>
>
>
>
>>>>When I do an `ldd -r /usr/local/lib/libldap.so` I get the following:
>>>>liblber.so.2 =>  /usr/local/lib/liblber.so.2
>>>>       libresolv.so.2 =>        /usr/lib/libresolv.so.2
>>>>       libnsl.so.1 =>   /usr/lib/libnsl.so.1
>>>>       libsocket.so.1 =>        /usr/lib/libsocket.so.1
>>>>       libdl.so.1 =>    /usr/lib/libdl.so.1
>>>>       libssl.so.0.9.7 =>       /usr/local/lib/libssl.so.0.9.7
>>>>       libcrypto.so.0.9.7 =>    /usr/local/lib/libcrypto.so.0.9.7
>>>>       libc.so.1 =>     /usr/lib/libc.so.1
>>>>       libmp.so.2 =>    /usr/lib/libmp.so.2
>>>>       libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>>>>       /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
>>>>       symbol not found: __eprintf
>>>>(/usr/local/lib/liblber.so.2)
>>>>
>>>>The last problem - the symbot not found: __eprintf - I need
>>>>
>>>>
>>to get rid
>>
>>
>>>>of.  It's causing problems with pam_ldap and nss_ldap.  How
>>>>
>>>>
>>do I compile
>>
>>
>>>>OpenLDAP without this dependency?  I've tried removing the
>>>>
>>>>
>>"assert.h"
>>
>>
>>>>file from the gcc install and I have the same problem.
>>>>
>>>>
>>>>
>>>>
>>>You need link the library with 'gcc -shared'.
>>>
>>>
>
>No, just recompile liblber now that you've removed assert.h.
>
>
>  -- Howard Chu
>  Chief Architect, Symas Corp.       Director, Highland Sun
>  http://www.symas.com               http://highlandsun.com/hyc
>  Symas: Premier OpenSource Development and Support
>
>
>
>


-- You can't make a difference until you are willing to be different! -- Nick Couchman SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Direct: (303) 784-7724 Main: (303) 790-8499 Fax: (303) 790-8720