|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9958 configure script does not link libldap into PHP
Submitted: 2001-03-23 12:00 UTC Modified: 2001-04-01 14:08 UTC
From: brinel at earthlink dot net Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.4pl1 OS: Solaris 8 MU3
Private report: No CVE-ID: None
 [2001-03-23 12:00 UTC] brinel at earthlink dot net
The configure script, run with the '--with-ldap' does not link php with libldap . PHP will compile fine, but when you try to run apache (DSO module) you get this:

Cannot load /usr/local/apache/libexec/ into server: /usr/local/apache/bin/httpd: fatal: relocation error: 
file /usr/local/apache/libexec/
symbol ldap_unbind_s: referenced symbol not found

manually linking libphp with -lldap corrects the problem.

NOTE: solaris 8 has ldap libraries included. I would think this should be the default behavior.

configure was run as follows:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --with-imap=../imap-2000c --with-ldap


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-26 15:55 UTC]
Could you please try the latest CVS snapshot from ? 

I made a little modification to the configure and it should 
work now with the Solaris libldap.


 [2001-04-01 14:08 UTC]
Closed. Reopen if latest CVS snapshot doesn't fix this.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 09:01:30 2024 UTC