When I tried to start HTTPServer, I got this error message: /opt/IBM/HTTPServer/bin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory. But this library is located at /opt/IBM/HTTPServer/lib.
Please advice which configuration I was missing. Thanks.
Topic
-
Re: HTTP server 8.5 can't start
2012-08-08T14:46:46ZThis is the accepted answer. This is the accepted answer.
It appears you invoked /opt/IBM/HTTPServer/bin/httpd directly, but /opt/IBM/HTTPServer/bin/apachectl is the start/stop script that must be used. Among other things, it configures the shared library search path. -
Re: HTTP server 8.5 can't start
2012-08-08T16:18:04ZThis is the accepted answer. This is the accepted answer.
I used ./apachectl start with error.
root@bin# ldd httpd
linux-vdso.so.1 => (0x00007fff283fd000)
libm.so.6 => /lib64/libm.so.6 (0x00000039a3c00000)
libaprutil-1.so.0 => not found
librt.so.1 => /lib64/librt.so.1 (0x00000039a4c00000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000039b6600000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000039a4800000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000039a4400000)
libexpat.so.0 => /lib64/libexpat.so.0 (0x00000039a7800000)
libapr-1.so.0 => not found
libc.so.6 => /lib64/libc.so.6 (0x00000039a3800000)
/lib64/ld-linux-x86-64.so.2 (0x00000039a3400000)
How can I configure shared library path?