[CentOS] libapr issue - CentOS 4.7

Mogens Kjaer mk at crc.dk
Wed Nov 12 14:21:01 UTC 2008


Tom Brown wrote:
...
> # /etc/init.d/httpd start
> Starting httpd: /usr/sbin/httpd: symbol lookup error:
> /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno
>                                                           [FAILED]
> 
> any clues here ??

What does

# ldd /usr/lib/libaprutil-0.so.0

write?

I get:

        libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x009ab000)
        liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x00b42000)
        libdb-4.2.so => /lib/tls/i686/libdb-4.2.so (0x00111000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x002d7000)
        libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x00333000)
        librt.so.1 => /lib/tls/librt.so.1 (0x001df000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00f61000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00a43000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x003b1000)
        libdl.so.2 => /lib/libdl.so.2 (0x008fc000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00721000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00461000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00511000)
        libssl.so.4 => /lib/libssl.so.4 (0x00c56000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00525000)
        /lib/ld-linux.so.2 (0x00ed0000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x001f3000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00207000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x0026c000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0026f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00290000)

BTW, is there a /usr/lib/libgdbm.so.2.0.0 file on your system? That's
the only file in /usr/lib that contains the string "gdbm_errno".

Mogens
-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk


More information about the CentOS mailing list