php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10777 Missing libraries for Netscape LDAP SDK
Submitted: 2001-05-10 03:12 UTC Modified: 2001-05-21 21:50 UTC
From: d dot begley at uws dot edu dot au Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.5 OS: Solaris 7
Private report: No CVE-ID: None
 [2001-05-10 03:12 UTC] d dot begley at uws dot edu dot au
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).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-21 21:50 UTC] sniper@php.net
Fixed in CVS. Fix will be in PHP 4.0.6.

--Jani

 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Feb 02 03:05:54 2023 UTC