[OpenSIPS-Users] error complie LDAP modules

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri May 29 14:28:50 CEST 2009


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