[Date Prev][Date Next]
Question about Net-LDAPapi-1.43
I have a problem in installing Net-LDAPapi-1.43, mainly because the
compiler didn't recognize 'res_search' function.
I suspect that I have to do some modifying on some include and library
files, but the problem is, I don't know which program is it to modify.
Here's the details :
I've configured the Makefile so that the kind API being used will be
Univ. of Michigan Development Kit (because I thought that OpenLDAP was
built based on Univ. of Michigan version of LDAP). I also included
'/usr/local/openldap-1.2.9/libraries' as the include and library
When I did 'make', everythings went well, except that there were 2 warning
ldap_compat.h:17: warning: `LDAP_OPT_REFERRALS' redefined
/usr/local/openldap-1.2.9/include/ldap.h:464: warning: this is the
location of the previous definition
After that, when I did a 'make test', the compilation abborted and output
this message :
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 test.pl
Can't load 'blib/arch/auto/Net/LDAPapi/LDAPapi.so' for module
Net::LDAPapi: blib/arch/auto/Net/LDAPapi/LDAPapi.so: undefined symbol:
res_search at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.
at test.pl line 11
BEGIN failed--compilation aborted at test.pl line 11.
modinit - not ok
make: *** [test_dynamic] Error 255
My question is, which file should I modify ?
Any clues will be highly appreciated...
Thanks in advance.