libvips-rust-bindings icon indicating copy to clipboard operation
libvips-rust-bindings copied to clipboard

note: ld: library 'vips' not found

Open Codename-404 opened this issue 10 months ago • 2 comments

Hi, when I try to use the package and build the project, it says, note: ld: library 'vips' not found clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can you please let me know if there are any additional setup required? Looking forward to hearing from you ~

Codename-404 avatar Mar 31 '24 04:03 Codename-404

if you are using ubuntu, test isntall libvips-dev plz. sudo apt-get install libvips-dev

menzil avatar Apr 29 '24 15:04 menzil

facing the same issue, using macos sonoma, libvips 8.15.2 installed via homebrew.

Edit:

Fixed by adding library path to profile:

echo 'export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/opt/vips/lib/' >> ~/.zshrc

zignis avatar Jun 12 '24 15:06 zignis