From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to