[Answered ]-How to solve "cannot open shared object" problem while opening subprocess within apache

2👍

Ok, I did face the same problem and got the solution from http://www.computing.net/answers/linux/error-in-loading-shared-libraries-/16460.html

Say, Apache fails to load xyz.so file. Go to your terminal, and locate it:

locate xyz.so

And say you get as output:

/path/to/xyz.so

Add this path (/path/to) in the /etc/ld.so.conf file. Then run

sudo ldconfig

Now restart Apache server and check.

👤Barun

Leave a comment