-
Notifications
You must be signed in to change notification settings - Fork 420
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
Ubuntu 17.04 libpng12.so.0: cannot open shared object file #255
Comments
We don't maintain anything for Node.js. If you're using MozJPEG via a Node module (anything installed from We don't require any particular version of libpng. The tools will link with whatever version was available at the time they were built, which usually means the executable can't be copied to any other system. You probably have mozjpeg built for a different version of the system (e.g. a Debian one, or for an old version of Ubuntu). You need to recompile it or get a binary compatible with your version of Ubuntu. |
And how is that done? I'm with the same problem. I do not know how to proceed. Thanks |
|
I just ran into this problem, and the cause is a The current workaround is generally to load a copy of As more and more Linux distributions are updated to no longer include I suggest switching the project to downloading a version of |
@cosine Just to be clear, we don't release any binaries. You've got a node module made by someone else. Also libpng12 is ancient and buggy. I strongly urge to stop using any OS that still ships it. |
Error message:
Module build failed: Error: /home/myApp/node_modules/mozjpeg/vendor/cjpeg: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
From what I can see I'd need to contact you guys?
OS: Ubuntu 17.04
Version:: mozjpeg v4.1.1
Package:
sudo apt-get install libpng-dev
ran with no errors:The text was updated successfully, but these errors were encountered: