From:             [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version:      4.0.5
PHP Bug Type:     LDAP related
Bug description:  Missing libraries for Netscape LDAP SDK

ext/ldap/config.m4 looks for and adds the library required
for the Netscape LDAP SDK (such as ldapssl41);  the script
also includes the runtime path for the LDAP library.

Unfortunately, in the case of SDK 4.1 (ldapssl41) the
associated libraries (nspr3, plc3 and plds3) are NOT linked.

If you run ldd against the resultant PHP binary, the
compile-time linker has already discovered this dependency
and added the missing libraries - but because they were not
explicitly linked the runtime path is missing so the
libraries are not found when PHP executes.

The fix is to also explicitly link the missing three
libraries (in addition to ldapssl41).




-- 
Edit Bug report at: http://bugs.php.net/?id=10777&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to