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

MacOS build failed #879

Open
mdsohelmia opened this issue Sep 9, 2024 · 1 comment
Open

MacOS build failed #879

mdsohelmia opened this issue Sep 9, 2024 · 1 comment

Comments

@mdsohelmia
Copy link

= note: ld: library 'vapoursynth' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The following warnings were emitted during compilation:

warning: av1an@0.4.3: could not find repository at '/Users/sohelmia/.cargo/registry/src/index.crates.io-6f17d22bba15001f/av1an-0.4.3'; class=Repository (6); code=NotFound (-3)
warning: av1an@0.4.3: VERGEN_GIT_COMMIT_DATE set to default
warning: av1an@0.4.3: VERGEN_GIT_SHA set to default

error: could not compile av1an (bin "av1an") due to 1 previous error
error: failed to compile av1an v0.4.3, intermediate artifacts can be found at /var/folders/2k/f3rpm1rn14sdn_ysz8gjkkc40000gn/T/cargo-installlkD4eZ.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

@FreezyLemon
Copy link
Contributor

FreezyLemon commented Sep 14, 2024

Probably a duplicate of #815 (assuming you used homebrew). Probably fixed soon, just waiting on the vapoursynth crate to release the update.

As a workaround, you can do (on ARM)

export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib"
cargo build

or (on x86_64)

export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/homebrew/lib/"

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

2 participants