dyld: Library not loaded: @rpath/libvlc.dylib
Posted: 07 Jan 2021 18:30
I downloaded a nightly build and it won't run because it can't find the libraries.
With otool I see the @rpath uses two forward slashes. I'm not familiar with this syntax. How do I make it find the libraries in a relative path? The lib folder is located next to the bin folder.
Code: Select all
% ./bin/vlc
dyld: Library not loaded: @rpath/libvlc.dylib
Referenced from: /Users/elliott/Downloads/vlc-macos-sdk-4.0.0-dev-70dc21e2/./bin/vlc
Reason: image not found
zsh: abort ./bin/vlc
Code: Select all
cmd LC_RPATH
cmdsize 24
path //lib (offset 12)
Load command 21