Has anyone successfully compiled (and run) php 4.0.4pl1 with LDAP support on Solaris 8 using OpenLDAP 2.0.7?
I can compile the LDAP support, but when I try to load apache, I get
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_initialize: referenced symbol not found when I run a config test on Apache.
The ./configure parameters are:
./configure --prefix=/usr/local --enable-track-vars --enable-force-cgi-redirect --with-gettext --with-apxs=/usr/local/apache/bin/apxs --with-imap=../imap2000 --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-ldap
Everything was fine under Solaris 2.7 with the same config parameters.