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

RE: problem with libldap.so



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Nick Couchman

> >libtool is wrong.  The idea is to link with gcc -shared and not ld.
> >LD="gcc -shared"
> >
> >As Howard pointed out, you should be able to proceed by
> removing assert.h.
> >
> >
> >
> Okay, well, it looks like it linked okay this time, there are no
> problems with libldap.so.  On liblber.so, however, I get the
> following:
>
>
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libdl.so.1 =>    /usr/lib/libdl.so.1
>         /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
>         symbol not found: shutdown
> (/usr/local/lib/liblber.so)
>
> And, as I just posted to the list, the following when trying to use
> pam_ldap (maybe this is a question for another list, but it
> changes when
> libldap.so changes):
>
> Assertion failed: LDAP_VALID( ld ), file unbind.c, line 40
>
> Ideas?

Search the pamldap email archives. This has been discussed many times
already. You're mixing the OpenLDAP libraries with the Solaris bundled
libraries, and the two are not compatible.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support