[OpenSIPS-Users] error complie LDAP modules
Leon Li
Leon.Li at aarnet.edu.au
Mon Jun 1 06:39:23 CEST 2009
Hi Bogdan,
I removed the following line from ./modules/ldap/Makefile.
LIBS=-lldap
And compile passed, make install worked as well.
I am not sure if this will cause any problem and will monitor and keep
you updated.
Thanks
Leon
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Sent: Friday, 29 May 2009 10:29 PM
To: Leon Li
Cc: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] error complie LDAP modules
Hi Leon,
I suspect you have now more than one package providing libldap, or the
openldap package is not compatible with the openldap-devel you
have...something got messy with your packages...
Regards,
Bogdan
Leon Li wrote:
> Hi Bogdan,
>
> I have upgrade libldap to 2.3.
>
> However, there are some other errors pop up. Hope you can help.
>
> .....
> Linking ldap.so
> gcc -shared -Wl,-O2 -Wl,-E iniparser.o ldap_api_fn.o
ldap_connect.o
> ldap_escape.o ldap_exp_fn.o ldap_mod.o ld_session.o -lldap -o ldap.so
> /usr/bin/ld: skipping incompatible /usr/lib/libldap.so when searching
> for -lldap
> /usr/bin/ld: skipping incompatible /usr/lib/libldap.a when searching
for
> -lldap
> /usr/bin/ld: cannot find -lldap
> collect2: ld returned 1 exit status
> make[1]: *** [ldap.so] Error 1
> make[1]: Leaving directory `/home/lli/opensips_1_5/modules/ldap'
> make: *** [modules] Error 2
>
More information about the Users
mailing list