php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: brinel at earthlink dot net
New email:
PHP Version: OS:

 

 [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/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: 
file /usr/local/apache/libexec/libphp4.so:
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-26 15:55 UTC] sniper@php.net
Could you please try the latest CVS snapshot from http://snaps.php.net/ ? 

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

--Jani

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

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC