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

GLIBC_2.11 not found #50

Closed
mihhail-lapushkin opened this issue Sep 10, 2013 · 3 comments
Closed

GLIBC_2.11 not found #50

mihhail-lapushkin opened this issue Sep 10, 2013 · 3 comments

Comments

@mihhail-lapushkin
Copy link

Hello,

One Grunt plugin is using your tool and on linux-x86-64 it is throwing this error:

/path/to/node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin/vendor/pngquant: /lib64/libc.so.6: version `GLIBC_2.11' not found

Linux is a CI machine. I contacted the admin and here is what he replied:
I ran updates to glibc from our Enterprise Linux distribution but it did not help with this problem. :(

First I wanted to post this as a Grunt plugin issue, but I guess it is more related to the pngquant itself.
Can you give some tips on resolving this?

@kornelski
Copy link
Owner

It looks like you have pngquant executable that is not compatible with your
Linux distribution or version of the distribution.
This could happen if you compiled it on another machine and copied the
binary to different flavor of Linux.

Delete this executable and try installing package from pngquant.org website
or compile it yourself.

@erasmospunk
Copy link

@pornel is right, this is more related to the npm package node-pngquant-bin that bundles the incompatible pngquant binary (I guess the default is for Ubuntu).

The problem seems to be that when node-pngquant-bin is being installed and the tests are failing it doesn't recompile correctly.

Try to execute this in the /path/to/node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin:

npm test (you need to have tools like make and npm mocha)

and post the results.

Also take a look here imagemin/pngquant-bin#2

@kornelski
Copy link
Owner

Thanks for explanation @erasmospunk

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

3 participants