PHP 4.0 Bug #9958 Updated: configure script does not link libldap into PHP
| From: | sniper@php.net | Date: | Mon, 26 Mar 2001 20:55:34 +0000 |
| Subject: | PHP 4.0 Bug #9958 Updated: configure script does not link libldap into PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49989@lists.php.net to get a copy of this message | ||
ID: 9958
Updated by: sniper
Reported By: brinel@earthlink.net
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[2001-03-23 12:00:20] brinel@earthlink.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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9958&edit=2