guetzli icon indicating copy to clipboard operation
guetzli copied to clipboard

error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

Open liuzl1990 opened this issue 5 years ago • 1 comments

[root@localhost Release]# ./guetzli --verbose --quality 100 /home/poweredge1/guetzli/test/input.jpg /home/poweredge1/guetzli/test/output.jpg ./guetzli: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

liuzl1990 avatar Aug 16 '18 08:08 liuzl1990

This means the guetzli executable was compiled on a machine with Libpng 1.6 installed, but is run on another machine that doesn't have the same Libpng 1.6 installed.

You either need to install Libpng 1.6 on the machine where you run it, or compile the executable again, but with libpng linked statically.

This is not specific to guetzli, so you can look for tutorials about using libpng in general.

kornelski avatar Aug 16 '18 10:08 kornelski