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

can't load dylibs on macos 10.14 (load command 0x80000034 is unknown) #172

Open
ahihi opened this issue Feb 2, 2023 · 0 comments
Open

Comments

@ahihi
Copy link

ahihi commented Feb 2, 2023

hi,

i am trying to use tree-sitter with emacs 27.1 on macos 10.14. however, executing tree-sitter-hl-mode gives me the following error:

let: Language load failed: "dlopen(/Users/ahihi/.emacs.d/elpa/tree-sitter-langs-20230128.1459/bin/python.dylib, 5): no suitable image found.  Did find:
	/Users/ahihi/.emacs.d/elpa/tree-sitter-langs-20230128.1459/bin/python.dylib: cannot load 'python.dylib' (load command 0x80000034 is unknown)
	/Users/ahihi/.emacs.d/elpa/tree-sitter-langs-20230128.1459/bin/python.dylib: stat() failed with errno=4"

it seems that load command 0x80000034 refers to LC_DYLD_CHAINED_FIXUPS which is not supported by dyld on macos <10.15.

would it be possible to build the binaries with support for 10.14?

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

1 participant