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: libpng12.so.0: cannot open shared object file: No such file or directory #333

Closed
Kushagra8888 opened this issue Jun 18, 2019 · 2 comments

Comments

@Kushagra8888
Copy link

OS: Ubuntu 19.04

I encounter this error when I try to use image-webpack-loader, a project which uses pngquant as a dependency. An issue has already been filed there. tcoopman/image-webpack-loader#93

Unfortunately the suggested workaround there do not seem to work for Ubuntu 19...

Error: /home/kushagra/work/clarisights/adwyze-frontend/node_modules/pngquant-bin/vendor/pngquant: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
@kornelski
Copy link
Owner

This binary is trying to load libpng 1.2, which is an old buggy version that nobody should be using anymore.

You have to build the executable with libpng 1.6 or later.

@Kushagra8888
Copy link
Author

Thank you!

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