Tuesday, February 02, 2010

libpng.so.2 error

***: error while loading shared libraries: libpng.so.2:
cannot open shared object file: No such file or directory

To avoid this error:

1. Install libpn3:

sudo apt-get install libpng3


2. And rename it to libpng2:

sudo ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2


Thanks to Jacques for the solution.

No comments: