Ubuntu / CentOS lack libpng12.so.0 problem lib

Outline

Run the executable executable files on Ubuntu / CentOS, appear: xxxlibpng12.so.0: wrong ELF class: ELFCLASS32 .
Error reason is that 64-bit systems with 32-bit libpng12.so.0, download a 64-bit shared libraries can be.

Solution

Can go online to search the library's installation package, I use is this. https://pan.baidu.com/s/1EVCvPZhRjQm7LPw7Gkr-Xg

After the download is good, copied to the target database directory, I was CentOS7, use the command: mv libpng12.so.0 / lib64

Remark

You can use the command: ldd executable file name to view file dependencies

Guess you like

Origin blog.51cto.com/weiyuqingcheng/2450553