libldap-2.2.so.7: cannot open shared object file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I've installed the following packages on my RHEL 5:

rpm -ivh php53-common-5.3.8-1.el5.x86_64.rpm
rpm -ivh php53-5.3.8-1.el5.x86_64.rpm
rpm -ivh php53-cli-5.3.8-1.el5.x86_64.rpm
rpm -ivh php53-ldap-5.3.8-1.el5.x86_64.rpm


and I see them with rpm -qa | grep php.  After I added the PHP module in httpd.conf, apache won't start:

[root modules]# /etc/init.d/httpd2 start
httpd: Syntax error on line 218 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: libldap-2.2.so.7: cannot open shared object file: No such file or directory


[root modules]# ldd libphp5.so 
    linux-gate.so.1 =>  (0xffffe000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7926000)
    librt.so.1 => /lib/librt.so.1 (0xf791d000)
    libldap-2.2.so.7 => not found
    liblber-2.2.so.7 => not found
    libresolv.so.2 => /lib/libresolv.so.2 (0xf7908000)
    libm.so.6 => /lib/libm.so.6 (0xf78df000)
    libdl.so.2 => /lib/libdl.so.2 (0xf78da000)
    libnsl.so.1 => /lib/libnsl.so.1 (0xf78c1000)
    libxml2.so.2 => not found
    libc.so.6 => /lib/libc.so.6 (0xf7768000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xf774e000)
    /lib/ld-linux.so.2 (0x00877000)


I've found libldap-2.3.so.0.2.3 and made symbolic links from it to /lib/libldap-2.2.so.7 and /usr/local/lib/libldap-2.2.so.7

Still ldd reports "libldap-2.2.so.7 => not found"

Please help!
 

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux