PDA

View Full Version : apache won't restart


mr_dizzle
8th December 2006, 09:15
i'm in the process of installing:

http://apr.apache.org/download.cgi
apr-1.2.8
apr-util-1.2.8
apr-iconv-0.9.7.tar.gz

http://www.outoforder.cc/projects/libs/apr_memcache/
apr_memcache-0.7.0

http://www.danga.com/memcached/
memcached-1.2.0

i've only installed apr and apr-util, but somehow apache got messed up during the process and now won't start:

Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libaprutil-0.so.0: cannot open shared object file: No such file or directory

so i ran this:

ldd /usr/sbin/httpd | grep libaprutil

libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00500000)

and had to create this:

ln -s /usr/local/apr/lib/libaprutil-1.so.0 /usr/lib/libaprutil-0.so.0

same error. not sure what else to try at this point.

falko
9th December 2006, 15:05
What's the output of
updatedb
locate libaprutil?

dratone
11th December 2006, 17:35
You could also try to run ldconfig, sometimes (!) works (just an idea, don't hold me to it ;-))