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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld: lazy symbol binding failed: Symbol not found: _g_once_impl #1

Closed
shanerobinson opened this issue Dec 8, 2020 · 1 comment
Closed

Comments

@shanerobinson
Copy link

Excellent walk through but I'm getting the following error output with a fresh install of your repo.

Thought you would want to know it's not working if people find your Post and try to use your repo. 馃槉

NOTE: I can get the Eleventy Img plugin working fine with demo code from its README, but not yours.

dyld: lazy symbol binding failed: Symbol not found: _g_once_impl
  Referenced from: /Users/shanerobinson/Sites/eleventy-image-example/node_modules/sharp/build/Release/sharp.node
  Expected in: /Users/shanerobinson/Sites/eleventy-image-example/node_modules/@11ty/eleventy-img/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

dyld: Symbol not found: _g_once_impl
  Referenced from: /Users/shanerobinson/Sites/eleventy-image-example/node_modules/sharp/build/Release/sharp.node
  Expected in: /Users/shanerobinson/Sites/eleventy-image-example/node_modules/@11ty/eleventy-img/node_modules/sharp/build/Release/../../vendor/lib/libvips.42.dylib

error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@rjdusk
Copy link

rjdusk commented Apr 19, 2021

I too had the above problem and if anyone stumbles upon this post, my workaround was to point to eleventy-img sharp npm package const sharp = require("@11ty/eleventy-img/node_modules/sharp"); - The problem is further discussed over here. In short it's an eleventy-img problem.

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