openldap and php, error

From: Date: Mon, 21 Oct 2002 21:33:42 +0000
Subject: openldap and php, error
Groups: php.install 
Request: Send a blank email to php-install+get-8870@lists.php.net to get a copy of this message
Hi, After i compile php v4.2.1 on my Solaris 8 machine using this config for php: ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs / --with-gd=/usr/local --with-sockets / --enable-track-vars --enable-force-cgi-redirect / --with-gettext --with-ldap=/usr/local/downloads/openldap-2.0.25 i get an error trying to start my apache v1.3.24. the error is: 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_value_free: referenced symbol not found ./apachectl start: httpd could not be started i did a ldd on my libphp4.so and i get this output:
 libdl.so.1 =>    /usr/lib/libdl.so.1
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libmysqlclient.so.10 =>  /usr/local/mysql/lib/mysql/libmysqlclient.so.10
        libintl.so.1 =>  /usr/lib/libintl.so.1
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libz.so =>       /usr/lib/libz.so
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
i have also include the full path in the httpd.conf file for
libphp4.so.    So now i'm stumped, can someone enlighten me? thanx.
--dave unix guy

« previous php.install (#8870) next »