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

Re: libldap_r link fails with missing ldap_first_message



Unless you really know what you are doing, I don't recommend
using -lldap_r.  It's quite experimental.

Kurt

At 12:00 PM 4/7/01 -0700, Mark Whitehouse wrote:
>Hi,
>
>  OpenLDAP 2.0.7
>  RH Linux 6.2
>
>I just tried to switch over to using the thread safe version of libldap.a
>(ldapldap_r.a).  I am getting a link error complaining about two missing
>functions:
>   ldap_first_message
>   ldap_next_message
>
>I noticed that the file (messages.c) which defines these functions is
>missing from the libraries/libldap_r dir in the distr.
>
>Should I link with both libraries (-lldap_r -lldap) to make this problem go
>away?  Is this a known issue?
>
>Any help would be appreciated.
>
>Mark