[vlc-devel] How to get the list of .so files being used by vlc?

Rémi Denis-Courmont remi at remlab.net
Fri Dec 2 11:01:31 CET 2011


On Fri, 2 Dec 2011 00:27:47 -0800 (PST), Peter Tap <ptrtap at yahoo.com>
wrote:
> After running this, directory MyVLC contains most of the files that are
> needed. However, there are a bunch of files in /usr/lib and
> /usr/lib/i386-linux-gnu that need to be copied as well. I don't know why
> vlc won't just copy these files in the install directory as well.

Just like VLC does not touch Windows DLLs, it does not touch Ubuntu shared
objects. These files are not part of VLC simply.

> Anyway, to build the list of required files, I run vlc on the test
machine
> with -vv option, look at the output to see which .so file is missing and
> keep adding the missing library file. This process works but is very
> cumbersome.

ldd gives the list. But overloading system libraries is a recipe for
failure.

> I am wondering if there is a better way to get all the files required to
> run vlc under one directory hierarchy. Or, if there is an easier way to
> build the list of needed .so files, I can probably write a script to
> collect all the files.

dpkg is your friend.

-- 
Rémi Denis-Courmont
http://www.remlab.net/_



More information about the vlc-devel mailing list