Bug #10777: Missing libraries for Netscape LDAP SDK
| From: | d dot begley at uws dot edu dot au | Date: | Thu, 10 May 2001 07:12:01 +0000 |
| Subject: | Bug #10777: Missing libraries for Netscape LDAP SDK | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54605@lists.php.net to get a copy of this message | ||
From: d.begley@uws.edu.au
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