Shu Ung wrote: >Hi, > >I am running apache 1.3.20 configured with mod_perl 1.26, php4.06 and >perldap 1.4.1 and LDAP SDK for C version 4.0 on a solaris 8 box which >also runs iPlanet LDAP server. I keep getting the following error when I >tried to load up a perl script accessing the LDAP server. > >Error loading Mozilla::LDAP::API: perldap_init failed > >If I disable the php4 module, the perl script works okay. > >Any idea how I can resolve this problem? >
Hmmm, better late than never ... But, this sounds like a LDAP library mismatch/collision. I bet the PHP4 module is using OpenLDAP C-SDK libraries, and PerLDAP is using Netscape C-SDK. Not sure how to resolve this, maybe, just maybe, you can use the Netscape C-SDK with PHP4? -- Leif
