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

dyld: lazy symbol binding failed: Symbol not found: _pthread_jit_write_protect_supported_np #15240

Closed
arixwap opened this issue Dec 22, 2022 · 3 comments

Comments

@arixwap
Copy link

arixwap commented Dec 22, 2022

Bug report

Required System information

  • Node.js version: 16.15.0
  • NPM version: 8.5.5
  • Strapi version: 4.5.4
  • Database: SQLite
  • Operating system: Mac Os 10.13.6 (High Sierra)

Describe the bug

When run yarn develop command, I got this error

yarn run v1.22.18
$ strapi develop
dyld: lazy symbol binding failed: Symbol not found: _pthread_jit_write_protect_supported_np
  Referenced from: /Users/imacone/www/kesato-strapi-backend/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _pthread_jit_write_protect_supported_np
  Referenced from: /Users/imacone/www/kesato-strapi-backend/node_modules/sharp/build/Release/../.././vendor/8.13.3/darwin-x64/lib/libvips-cpp.42.dylib
  Expected in: /usr/lib/libSystem.B.dylib

✨  Done in 7.36s.

I think its because package sharp v0.31.2. Its doesn't support with MacOs below 10.15.7

You can find the same issue from sharp itself here: lovell/sharp#3438

Steps to reproduce the behavior

  1. It's happened when you are old MacOs version user.
  2. Make sure Mac Os version is 10.15.7, or below
  3. Install strapi like usually. yarn && yarn develop
  4. You will find the error later

Expected behavior

I'm sure its because package sharp v0.31.2.

It is possible to downgrade sharp version? Before its was work when I install Strapi v4.5.3

Screenshots

Screen Shot 2022-12-22 at 10 48 08

@ruanhaodong
Copy link

Got same error on macOS Catalina Version 10.15 Beta

@bolg55
Copy link

bolg55 commented Dec 23, 2022

Our minimum supported MacOS is 10.15 but we recommend running 11 or newer, as per our docs: https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment.html

@bolg55 bolg55 closed this as completed Dec 23, 2022
@arixwap
Copy link
Author

arixwap commented Dec 26, 2022

WKWK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants