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

Project with sharp and favicons expecting symbols in favicon's libvips.42.dylib #324

Open
nstuyvesant opened this issue Dec 9, 2020 · 0 comments

Comments

@nstuyvesant
Copy link

nstuyvesant commented Dec 9, 2020

On macOS 11.0.1, my project uses sharp 0.26.3 and favicons 6.2.0 (which uses sharp 0.25.2). When I try to build the site, I get an error...

dyld: lazy symbol binding failed: Symbol not found: _g_once_impl
Referenced from: /Users/nates/dev/shy/node_modules/sharp/build/Release/sharp.node
Expected in: /Users/nates/dev/shy/node_modules/favicons/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

dyld: Symbol not found: _g_once_impl
Referenced from: /Users/nates/dev/shy/node_modules/sharp/build/Release/sharp.node
Expected in: /Users/nates/dev/shy/node_modules/favicons/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

If I go to the directory for favicons and do a...

npm install --build-from-source sharp@0.26.3

then do another build, the problem goes away.

Seems the latest version of sharp expects the libvips.42.dylib with symbols and the one provided by the older version of sharp used by favicons doesn't have it.

Should this be logged here or at the repo for sharp?

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

1 participant