Click to See Complete Forum and Search --> : Problem when compile php with ldap


Anon
10-29-2001, 12:37 PM
I try to compile php to support ldap in Linux RedHat 6.2 ("--with-ldap=/usr/local/openldap") and already "make", "make install" completely but when I start my webserver I received the following message:
"Cannot
load /usr/local/apache/libexec/libphp4.so into server: libdap.so.2: cannot open shared object file: No such file or directory". Anybody can suggest me for the solution.

Thank you for everyone.

Anon
10-29-2001, 08:20 PM
You need to add the openldap libraries into your LD_LIBRARY_PATH before you start Apache. (This is a Solaris example, I don't know how to add libraries into the system path on Linux).

Jon

pranav
10-30-2001, 12:31 AM
Hi

for support of openldap with php first compile and install openldap and then compile php with just writing "--with-ldap"
and do not give ldap's path then it will work.I am already using php with openldpap.
for more help reply back.

Pranav