Knowledge Base
Knowledge Base
FAQ's & Technical Guides
Why an error related to the dependency of libpng occurs when I install a RPM package on Linux ?

Since libpng is used for loading PNG, libpng.so is required. There are some cases in which libpng.so does not exist, even if the libpng has been installed. In such cases, you need to do one of the following steps to avoid this problem:

1) Install libpng-devel package.
If CD-ROM of your Linux includes the libpng-devel package, please install it.

2) Create a symbolic link to libpng.so.${version}.
Execute the following command to search a libpng library installed.
rpm -ql libpng | grep libpng.so
(example of output)
/usr/lib/libpng.so.3
/usr/lib/libpng.so.3.1.2.0
Create a symbolic link to the libpng, whose name is libpng.so.
ln -s /usr/lib/libpng.so.3.1.2.0 /usr/lib/libpng.so

Article: KB020188 Language: English Product Range: dot Matrix

Save as PDF

© EPSON