PHP 4.0 Bug #9958 Updated: configure script does not link libldap into PHP

From: Date: Sun, 01 Apr 2001 18:08:02 +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-50498@lists.php.net to get a copy of this message
ID: 9958 Updated by: sniper Reported By: brinel@earthlink.net Old-Status: Feedback Status: Closed Bug Type: LDAP related Assigned To: Comments: Closed. Reopen if latest CVS snapshot doesn't fix this. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-26 15:55:33] 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-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

« previous php.dev (#50498) next »