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

Compatibility issue with libvips 8.15.0 on macOS? #391

Closed
cschaible opened this issue Nov 15, 2023 · 2 comments
Closed

Compatibility issue with libvips 8.15.0 on macOS? #391

cschaible opened this issue Nov 15, 2023 · 2 comments

Comments

@cschaible
Copy link

Hello,
I get an error when the latest version of libvips (8.15.0) is installed on macOS (with brew).

The terminal output when building an app that's using govips is the following:

/opt/homebrew/Cellar/go/1.21.4/libexec/pkg/tool/darwin_arm64/link: running cc failed: exit status 1
ld: warning: search path '/opt/homebrew/Cellar/vips/8.14.5_1/lib' not found
ld: library 'vips' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Maybe it's only something on my system - but reinstalling the old version (8.14.5) on my system as follows solves the issue.

curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/439ffb3030020f0669ba76a32d419162b2946621/Formula/v/vips.rb && brew install ./vips.rb

I'm not sure where the version 8.14.5 is referenced (as i haven't found it in this repository). Updating it to 8.15.0 again brings back the issue. My conclusion therefore is that there could be a problem with the new libvips version.
I would appreciate if someone could check if there's a general problem or if it's just something on my system. Thanks in advance!

@tonimelisma
Copy link
Collaborator

Looks to probably be an issue in your environment.

@cschaible
Copy link
Author

Thanks for clarifying. The old version was referenced in a go build cache file in:
~/Library/Caches/go-build/. After running go clean -cache the problem is solved.

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