GithubHelp home page GithubHelp logo

Comments (8)

drahnr avatar drahnr commented on June 7, 2024 1

I'd be happy to include this as part of the README.md, could you create such a PR?

from cargo-spellcheck.

Owen-CH-Leung avatar Owen-CH-Leung commented on June 7, 2024 1

No it errors out:

error: failed to run custom build command for `hunspell-sys v0.3.1`

Caused by:
  process didn't exit successfully: `/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/build/hunspell-sys-577c44aadb168bc2/build-script-build` (signal: 6, SIGABRT: process abort signal)
  --- stderr
  dyld[74671]: Library not loaded: @rpath/libclang.dylib
    Referenced from: <0A527F70-81F5-3FEF-B909-A98787A7F277> /private/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/build/hunspell-sys-577c44aadb168bc2/build-script-build
    Reason: tried: '/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/deps/libclang.dylib' (no such file), '/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/libclang.dylib' (no such file), '/opt/homebrew/Cellar/rust/1.76.0/lib/rustlib/aarch64-apple-darwin/lib/libclang.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/usr/lib/libclang.dylib' (no such file)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-spellcheck v0.13.2`, intermediate artifacts can be found at `/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC`.

from cargo-spellcheck.

johnsonw avatar johnsonw commented on June 7, 2024 1

I'm on OS X Ventura (13.4) and setting the following environment variable as @jgrund stated worked for me:

export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/usr/lib"

from cargo-spellcheck.

jgrund avatar jgrund commented on June 7, 2024

On MacOS 14.2, I needed to do the following:

export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/usr/lib" && cargo install --locked cargo-spellcheck

from cargo-spellcheck.

drahnr avatar drahnr commented on June 7, 2024

@Owen-CH-Leung which OS X version did you test your instructions with?
@jgrund I am curious how your setup differs from @Owen-CH-Leung 's

from cargo-spellcheck.

Owen-CH-Leung avatar Owen-CH-Leung commented on June 7, 2024

I tested the instructions with macOs Sonoma 14.1.1

from cargo-spellcheck.

drahnr avatar drahnr commented on June 7, 2024

I tested the instructions with macOs Sonoma 14.1.1

Do @jgrund's instruction work there too?

from cargo-spellcheck.

drahnr avatar drahnr commented on June 7, 2024

@jgrund could you create PR making it per OS X version?

from cargo-spellcheck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.