-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
sharp v0.16.1, OS X, "readelf: command not found" when using a custom global vips #602
Comments
Hello, the use of The command is only needed for gcc, so I suspect limit use of that command to Linux only will "fix" this. Leave it with me, thanks for reporting. |
This problem only affects OS X users who already have a globally-installed version of vips, probably via homebrew. A workaround, assuming you don't need a custom installation of vips, is to remove it via |
yes
npm install ok. thx. |
Thanks for confirming. If it's OK with you I'd like to leave this issue open whilst I fix things for those who wish to use a custom installation of vips on OS X. |
but, sharp does not install.
|
Yeah I am in exactly this situation that would benefit from a fix here -- I want to keep my global install of vips on my development machine for other projects, but am building a small side project that will be deployed on EC2 or etc, so would rather leave it with the local version. |
Commit 1a0030e should limit the use of readelf to Linux. Are you able to test? npm install lovell/sharp |
first test env is not installed global vips. ok. test commit version 1a0030e. (by chekout) test env.
438 passing (4m)
|
@caoko Brilliant, thank you for testing. The failures from the |
v0.16.2 out now with this fix, thanks for reporting. |
sharp on Mac OS no longer needs libvips to be installed. In fact, it may cause a problem with installing sharp. Update the readme to reflect this fact. See lovell/sharp#602 for more information.
sharp on Mac OS no longer needs libvips to be installed. In fact, it may cause a problem with installing sharp. Update the readme to reflect this fact. See lovell/sharp#602 for more information.
npm install sharp
(sharp@0.16.1)
node -v v6.8.0
node-gyp -v v3.4.0
The text was updated successfully, but these errors were encountered: