Click to See Complete Forum and Search --> : Building php for apache with ldap on solaris fails


comminot
12-20-2002, 10:19 AM
Hi

I am trying to rebuild php 4.2.2 on solaris 8, in order to use it with apache and ldap.

Every thing seems to be ok until I try to restart apache.

apachectl configtest gives me the following answer:

Syntax error on line 206 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp4.so into server: ld.so.1: /opt/apache/bin/httpd: fatal: relocation error: file /opt/apache/libexec/libphp4.so: symbol ldap_start_tls_s: referenced symbol not found

The configure options I use are:
./configure --with-mysql --with-apxs=/opt/apache/bin/apxs --with-ldap

Where is the problem ?

Thanks in advance

Pascal