Hi Leon, But this is somehow bogus as the module must be linked against the ldap library....
Is it working for you (I mean is the module loaded) ? Regards, Bogdan Leon Li wrote: > 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:[email protected]] > Sent: Friday, 29 May 2009 10:29 PM > To: Leon Li > Cc: [email protected] > 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 >> >> > > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
