Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liuzl1990 opened this issue Aug 16, 2018 · 1 comment

Comments

@liuzl1990
Copy link

[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

@kornelski
Copy link

kornelski commented Aug 16, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants