dyld: Library not loaded: @rpath/libvlc.dylib

macOS specific usage questions
llamafilm
Blank Cone
Blank Cone
Posts: 13
Joined: 06 Aug 2018 02:36

dyld: Library not loaded: @rpath/libvlc.dylib

Postby llamafilm » 07 Jan 2021 18:30

I downloaded a nightly build and it won't run because it can't find the libraries.

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
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

cmd LC_RPATH cmdsize 24 path //lib (offset 12) Load command 21

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: dyld: Library not loaded: @rpath/libvlc.dylib

Postby dfuhrmann » 07 Jan 2021 21:19

The SDK file you downloaded is mainly intented for developers to integrate libvlc into own applications.

Please use the file with the ending dmg instead, if you want to run VLC.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests