v0.31.2: macOS x64 prebuilt binaries fail on macOS < 11 with "Symbol not found: _pthread_jit_write_protect_supported_np"
See original GitHub issuePossible install-time or require-time problem
- I have read the documentation relating to installation.
- I have ensured that the architecture and platform of Node.js used for
npm install
is the same as the architecture and platform of Node.js used at runtime.
Are you using the latest version of sharp?
- I am using the latest version of
sharp
as reported bynpm view sharp dist-tags.latest
.
If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp
that is not the latest, please open an issue against that package instead.
Hello! After updating Sharp from version 0.31.1 to version 0.31.2, some of my users can no longer run my application.
Dyld Error Message:
Symbol not found: _pthread_jit_write_protect_supported_np
Referenced from: /Applications/electron.app/Contents/Resources/app.asar.unpacked/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib
Expected in: /usr/lib/libSystem.B.dylib
I can guess that this problem is probably inside libvips
(as shown in the error message), but in the installation guide you state:
Prebuilt binaries
Ready-compiled sharp and libvips binaries are provided for use on the most common platforms:
- macOS x64 (>= 10.13)
- macOS ARM64
- Linux x64 (glibc >= 2.17, musl >= 1.1.24, CPU with SSE4.2)
- Linux ARM64 (glibc >= 2.17, musl >= 1.1.24)
- Windows x64
- Windows x86
So I’m just wondering if this bug should be expected to be fixed or should the supported macOS version be higher?
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:15 (8 by maintainers)
Top Results From Across the Web
[GUIDE/FIX] installing on M1 (Apple Silicon) Macs: npm ERR ...
always on building Sharp. When I install vips using brew I'm getting Package OpenEXR was not found . When I remove that I'm...
Read more >Clang linking error MacOS Big Sur | Apple Developer Forums
Looks like it cannot link the c++ std library? I have already tried to remove the command line tool and re install it....
Read more >nvm install node fails to install on macOS Big Sur M1 Chip
If you have installed nvm using homebrew and are trying to install the node using command nvm install <some_version> , you will face...
Read more >Installing and running NCL under MacOSX
Install XQuartz; Install gcc and gfortran; Go to list of available NCL binaries on the Climate Data Gateway; Choose and download the right...
Read more >Downloading wxMacMolPlt
wxMacMolPlt is available as a source code tar file and as pre-built binaries for Mac OS X, Windows and several varieties of Linux....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also happend on MacOS 10.15.7
Well, as it turned out I don’t have to wait till tonight, I have access to my local machine again. Here are the steps for everyone else that came here from a Google Search, and I noticed that it’s a MacOSX specific issue. I’m on node
v16.17.1
, running onMacOS Mojave 10.14.6
.npm uninstall sharp
andnpm install sharp@0.31.1
And, they’re back again working as intended.
Thanks,