-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Installing the crate in a macbook machine #320
Comments
I'd be happy to include this as part of the |
On MacOS 14.2, I needed to do the following:
|
@Owen-CH-Leung which OS X version did you test your instructions with? |
I tested the instructions with macOs Sonoma 14.1.1 |
Do @jgrund's instruction work there too? |
No it errors out:
|
@jgrund could you create PR making it per OS X version? |
I'm on OS X Ventura (13.4) and setting the following environment variable as @jgrund stated worked for me:
|
I tried to install this crate into my macbook machine following the documentation. So I run:
cargo install --locked cargo-spellcheck
which returned the following error when compiling:
It's complaining that the dynamic linker is unable to locate the libclang.dylib library on the machine. After some googling, I managed to resolve the issue with the following command
export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/Toolchains/XcodeDefault.xctoolchain/usr/lib/" && cargo install --locked cargo-spellcheck
I believe we can enrich the installation guide a bit to specify the necessary env variable that needs to be present in order to install the crate successfully (for all the 3 OS: Windows, Linux & Mac).
The text was updated successfully, but these errors were encountered: