Hi I am trying to get httpd onto a freshly updated, although long time ago installed CentOS 4 box. Its fully updated to 4.7 however when trying to install httpd this is the error i get, well i should say install is fine but httpd cant start. # yum install httpd -- snip -- Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================Installing: httpd i386 2.0.52-41.ent.centos4 base 902 k Installing for dependencies: apr i386 0.9.4-24.9 base 93 k apr-util i386 0.9.4-22.el4 base 51 k httpd-suexec i386 2.0.52-41.ent.centos4 base 30 k Transaction Summary ============================================================================Install 4 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 1.1 M Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: apr ######################### [1/4] Installing: apr-util ######################### [2/4] Installing: httpd ######################### [3/4] Installing: httpd-suexec ######################### [4/4] Installed: httpd.i386 0:2.0.52-41.ent.centos4 Dependency Installed: apr.i386 0:0.9.4-24.9 apr-util.i386 0:0.9.4-22.el4 httpd-suexec.i386 0:2.0.52-41.ent.centos4 Complete! # /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 ?? thanks
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 ??A google search suggests relabeling, if SElinux is enabled: touch /.autorelabel reboot 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
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