/usr/local/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

If you see following error during easyapache -

/usr/local/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

Solution :

ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2

If this didn’t work then add following line in /etc/ld.so.conf file

/usr/local/lib/

and execute command

ldconfig

Now run easyapache.

Leave a Reply

You must be logged in to post a comment.