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/ into server: 
/usr/local/apache/bin/httpd: fatal: relocation error: 
file /usr/local/apache/libexec/
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 

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:

PHP Development Mailing List <>
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