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

Centos npm install sharp failed, when libvips installed manually #682

Closed
helloqhx opened this issue Jan 16, 2017 · 2 comments
Closed

Centos npm install sharp failed, when libvips installed manually #682

helloqhx opened this issue Jan 16, 2017 · 2 comments
Labels

Comments

@helloqhx
Copy link

helloqhx commented Jan 16, 2017

I have manually installed vips on my centos 6.5 box. As follows:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
pkg-config --modversion vips-cpp
8.4.1

But, when npm install sharp, it output:

node-gyp rebuild

ERROR: glibc version 2.12 requires manual installation
gyp: Call to 'LDD_VERSION="ldd (GNU libc) 2.12
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper." node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

I omitted some path info.

@lovell
Can anyone help?
Thanks very much.
Oh, please do not force me to upgrade my OS, it's not in my charge.

@lovell
Copy link
Owner

lovell commented Jan 16, 2017

sharp v0.17.x requires libvips v8.4.2+

@helloqhx
Copy link
Author

@lovell Thanks very much for your help.
Changed to v8.4.5, installed successfully!

Thanks!

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

No branches or pull requests

2 participants