简体   繁体   English

未找到符号:____chkstk_darwin

[英]Symbol not found: ____chkstk_darwin

I'm on Mac OS and I have a problem with the canvas module.我在 Mac OS 上,但canvas模块有问题。 When I want to do an action with canvas , I have this error:当我想对canvas执行操作时,出现此错误:

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 dyld:惰性符号绑定失败:找不到符号:____chkstk_darwin 引用自:/Users/user/Desktop/Personnel/Dev/Bot/node_modules/canvas/build/Release/libcairo.2.dylib(专为 Mac OS X 10.15 构建) 预期在:/usr/lib/libSystem.B.dylib 中止陷阱: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然后我做了一些研究,发现我必须用这个命令安装一些东西: 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".警告:没有名称为“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. ==> 在 GitHub 上搜索抽头... 错误:在抽头中找不到公式。 Updating Homebrew... fatal: Needed a single revision Warning: No available formula or cask with the name "pkg-config".正在更新 Homebrew... 致命:需要一个修订版警告:没有可用的公式或名称为“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. ==> 在 GitHub 上搜索抽头... 错误:在抽头中找不到公式。

I have tried to find a solution but I have decided to ask for help on StackOverflow.我试图找到一个解决方案,但我决定在 StackOverflow 上寻求帮助。

Hi i had the same problem a few days ago, after try many commands what worked for me was to unistall node js from the mac and install it again I followed this steps: https://macpaw.com/how-to/uninstall-node-mac嗨,几天前我遇到了同样的问题,在尝试了许多命令后,对我有用的是从 mac 卸载节点 js 并再次安装,我按照以下步骤操作: https://macpaw.com/how-to/uninstall-节点mac

then install nodejs 16 version and problem gone!然后安装nodejs 16版本,问题就消失了!

It seems like your homebrew is unable to update.您的自制软件似乎无法更新。 Try uninstalling it with:尝试卸载它:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

Next, reinstall it with:接下来,使用以下命令重新安装它:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 dyld:惰性符号绑定失败:找不到符号:____chkstk_darwin macOS High sierra 10.13.6 - dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin macOS High sierra 10.13.6 命令行工具总是崩溃“dyld:惰性符号绑定失败:找不到符号:____chkstk_darwin” - command line tool it always crashes "dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin" glibc 未找到符号错误 - symbol not found errors with glibc 惰性符号绑定失败:找不到符号:_FSEventStreamCreate - lazy symbol binding failed: Symbol not found: _FSEventStreamCreate 未找到平台=darwin arch=arm64 runtime=electron abi=103 的本机构建 - No native build was found for platform=darwin arch=arm64 runtime=electron abi=103 找不到符号:_libintl_gettext - Symbol not found: _libintl_gettext npm 错误:oracledb 错误! NJS-067:未找到用于 darwin arm64 的预构建 node-oracledb 二进制文件 - npm ERR! oracledb ERR! NJS-067: a pre-built node-oracledb binary was not found for darwin arm64 节点opencv /特立独行的:dyld:找不到符号 - node-opencv / mavericks : dyld: Symbol not found NPM安装错误达尔文 - npm install error darwin dyld:未找到符号:_JNI_CreateJavaVM - dyld: Symbol not found: _JNI_CreateJavaVM
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM