Closed iguesspaul closed 9 months ago
Is the library present in /usr/local/lib/libmp3lame.dylib
? If so, for some reason the /usr/local/lib
directory is not added to the library search path. You can try running RUSTFLAGS="-L /usr/local/lib" cargo build --release
in this case.
Compilation is working on Mac OS (tested in latest Sonoma / M2) BUT with apple Silicon the default Homebrew install path is /opt/homebrew
So you have to launch the compilation by specifying the direct path to the lame lib (installed by Homebrew) by doing :
RUSTFLAGS="-L /opt/homebrew/Cellar/lame/3.100/lib" cargo build --release
Describe the bug After running
cargo build —release
It returns the errorld: library not found for -lmp3lame clang: error: linker command failed with exit code 1 (use -v to see invocation)
To Reproduce Steps to reproduce the behavior:
cargo build —release
Expected behavior I had run into this error, checked the readme and realized that I needed to install lame. I did, using homebrew. It installed successfully and the command works when I run it. So, I built the project again but it still failed.
Screenshots
Desktop (please complete the following information):