Can't load 'blib/arch/auto/Net/LDAPapi/LDAPapi.so' for module \ Net::LDAPapi: blib/arch/auto/Net/LDAPapi/LDAPapi.so: undefined symbol:\ ldap_value_free at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm \ line 230. at test.pl line 11
Looks like you're linking wrong, maybe the wrong path, maybe the wrong LDAP library. Does "ldd blib/arch/auto/Net/LDAPapi/LDAPapi.so" produce sane results that match your OpenLDAP libraries?