Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I built (from source) a newer version of,, etc. than provided by the Ubuntu repositories. (My newer versions are installed in /usr/local/lib). Using ldd /usr/bin/vlc to list the shared library dependencies of VLC returns a small list: =>  (0x00007fff219fe000) => /usr/lib/ (0x00007fb0622ca000) => /usr/lib/ (0x00007fb061fe8000) => /lib/x86_64-linux-gnu/ (0x00007fb061dca000) => /lib/x86_64-linux-gnu/ (0x00007fb061bc6000) => /lib/x86_64-linux-gnu/ (0x00007fb0617fe000) => /lib/x86_64-linux-gnu/ (0x00007fb0615b8000) => /lib/x86_64-linux-gnu/ (0x00007fb0613b0000) => /lib/x86_64-linux-gnu/ (0x00007fb0610ac000)
/lib64/ (0x00007fb062512000)

Notably, is absent, meaning that VLC finds the library at runtime (rather than at compile-time). Is there a way to tell VLC to point to my newer version of, and other related libraries (all located in /usr/local/lib)?

This is because I am trying to use FFmpeg and Ubuntu provides Libav. Libav doesn't have an MSS2 decoder but FFmpeg does. As long as VLC links to Libav, I can't play my video files that use MSS2 with VLC.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.