/usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open

Sorry to also bump this old thread, but I had the exact same problem this night after updating with yum.

I fixed it now by doing a ./build update, but is there any cause known so we can prevent this in the future?
Is it apr-util from Centos and can we safely remove that (yum remove apr-util) without doing harm to other things?

I only had this on the CB 2.0 servers with apache 2.4.x, not on the one running with CB 1.2. with 2.2.29.
 
Last edited:
Nginx with Mod Security problem

I have exactly the same error with nginx and mod_security. Have you solved the problem?
I have error:
ldd /usr/sbin/nginx | grep libapr
libapr-1.so.0 => not found
libaprutil-1.so.0 => not found


nginx -V
nginx: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No such file or directory

service nginx restart
/usr/sbin/nginx: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No such file or directory

I used nginx_apache.
I get this error when I enable and build mod_security.
 
Back
Top