Issue
I cloned this repository and tried to run (was setting up with the intention of contributing), but encountered an error due to a missinglibdf.dylib file. The binary was trying to load the library from a hardcoded path (I think):
ERROR:root:MediaProcessor stderr: dyld[76079]: Library not loaded: /Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib
Referenced from: <D97E0925-C695-374B-B6B3-07DFBF964189> /Users/arjuns/Downloads/fast-music-remover/MediaProcessor/build/MediaProcessor
Reason: tried: '/Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib' (no such file), '/Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib' (no such file)
This error suggests that MediaProcessor is looking for /Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib. Looks like libdf.dylib has an absolute install name (rpath) that points to the original developer's local machine?
After running otool -D MediaProcessor/lib/libdf.dylib:
MediaProcessor/lib/libdf.dylib:
/Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib
Was able to fix the issue with:
install_name_tool -change /Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib \
/Users/arjuns/Downloads/fast-music-remover/MediaProcessor/lib/libdf.dylib \
build/MediaProcessor
System Information
- Device: MacBook Air M2
- OS: macOS Sequoia 15.1
- CMake Version: 3.31.5
Would be nice to have this added to the documentation for manual building.
Issue
I cloned this repository and tried to run (was setting up with the intention of contributing), but encountered an error due to a missing
libdf.dylibfile. The binary was trying to load the library from a hardcoded path (I think):This error suggests that
MediaProcessoris looking for/Users/oyagci/fast-music-remover/DeepFilterNet/target/release/deps/libdf.dylib. Looks likelibdf.dylibhas an absolute install name (rpath) that points to the original developer's local machine?After running
otool -D MediaProcessor/lib/libdf.dylib:Was able to fix the issue with:
System Information
Would be nice to have this added to the documentation for manual building.