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

From: Date: Fri, 23 Mar 2001 17:00:20 +0000
Subject: PHP 4.0 Bug #9958: configure script does not link libldap into PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-49833@lists.php.net to get a copy of this message
From: brinel@earthlink.net Operating system: Solaris 8 MU3 PHP version: 4.0.4pl1 PHP Bug Type: Compile Problem Bug description: configure script does not link libldap into PHP 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 -- Edit Bug report at: http://bugs.php.net/?id=9958&edit=1

« previous php.dev (#49833) next »