You will need to link in with the additional LDAP C SDK libraries needed by perLdap as below as the LDAP C SDK is now based on dynamic libraries.  I was able to compile/run on Solaris after I made the change below.

Michael
 

    data 195% perl5 Makefile.PL

    PerLDAP - Perl 5 Module for LDAP
    ================================
    Directory containing 'include' and 'lib' directory of the Netscape
    LDAP Software Developer Kit (default: /usr): /opt/iPlanet/ldapcsdk
    Using LDAPv3 Developer Kit (default: yes)?  yes
    Include SSL Support (default: yes)?  yes
    Located multiple libraries:
      - libldap50.so
      - libssldap50.so
      - libprldap50.so
    Libraries to link with (default: -L/opt/iPlanet/ldapcsdk/lib -lldap50):  -L/
opt/iPlanet/ldapcsdk/lib -lssldap50 -lssl3 -lprldap50 -lplds4 -lplc4 -lnss3 -lns
pr4 -lldap50 -lldif50 -llber50 -liutil50
    Writing Makefile for Mozilla::LDAP::API

Rich Megginson wrote:

If you have been able to get perldap working with the 5.0 SDK, please let me know what changes I need to make.
Thanks.

Reply via email to