RHEL server Yum dependencies not working
Posted
by
Tony
on Server Fault
See other posts from Server Fault
or by Tony
Published on 2012-03-27T16:32:03Z
Indexed on
2012/03/27
17:33 UTC
Read the original article
Hit count: 445
I have a redhat server that isnt resolving dependencies correctly.
I want to install httpd via yum "yum install httpd" and it installs correctly, but when i go to start httpd I get the following error:
/sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory
[FAILED]
It is missing the dependency for apr-util package.
Weirdly the i386 package is installed and not the x86_64 package. Can anyone shed any light on why the dependencies might not be resolved correctly?
ldd /usr/sbin/httpd
libm.so.6 => /lib64/libm.so.6 (0x00002b02370db000)
libpcre.so.0 => /lib64/libpcre.so.0 (0x00002b023735e000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00002b023757a000)
libaprutil-1.so.0 => not found
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b0237793000)
libldap-2.3.so.0 => /usr/lib64/libldap-2.3.so.0 (0x00002b02379cb000)
liblber-2.3.so.0 => /usr/lib64/liblber-2.3.so.0 (0x00002b0237c06000)
libdb-4.3.so => /lib64/libdb-4.3.so (0x00002b0237e14000)
libexpat.so.0 => /lib64/libexpat.so.0 (0x00002b0238109000)
libapr-1.so.0 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b023832c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b0238547000)
libc.so.6 => /lib64/libc.so.6 (0x00002b023874c000)
libsepol.so.1 => /lib64/libsepol.so.1 (0x00002b0238aa3000)
/lib64/ld-linux-x86-64.so.2 (0x00002b0236ebe000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b0238ce9000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00002b0238eff000)
libssl.so.6 => /lib64/libssl.so.6 (0x00002b0239118000)
libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002b0239364000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00002b02396b6000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002b02398e4000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002b0239b79000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002b0239d7c000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00002b0239fa1000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00002b023a1b5000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00002b023a3be000)
yet this is the i386 package
apr-util-1.2.7-11.el5.i386 : Apache Portable Runtime Utility library
Repo : installed
Matched from:
Filename : /usr/lib/libaprutil-1.so.0
© Server Fault or respective owner