Symbol not found: ____chkstk_darwin

I'm on Mac OS and I have a problem with the canvas module. When I want to do an action with canvas, I have this error:

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /Users/user/Desktop/Personnel/Dev/Bot/node_modules/canvas/build/Release/libcairo.2.dylib (which was built for Mac OS X 10.15) Expected in: /usr/lib/libSystem.B.dylib Abort trap: 6

Then I've made some research and found that I have to install something with this command: brew install pkg-config cairo pango libpng jpeg giflib librsvg

But when I do this, I have this warning:

Warning: No available formula or cask with the name "ca-certificates". ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps. Updating Homebrew... fatal: Needed a single revision Warning: No available formula or cask with the name "pkg-config". ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps.

I have tried to find a solution but I have decided to ask for help on StackOverflow.

1 Answer

It seems like your homebrew is unable to update. Try uninstalling it with:

/bin/bash -c "$(curl -fsSL )"

Next, reinstall it with:

/bin/bash -c "$(curl -fsSL )"
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like