Archive for December, 2009

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

Saturday, December 19th, 2009

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.