[FFmpeg-devel] [PATCH] Add --enable-rpath option to add -Wl, -rpath to pkg-config files.

Lukasz M lukasz.m.luki at gmail.com
Sun Nov 10 21:40:49 CET 2013

On 10 November 2013 19:58, Reimar Döffinger <Reimar.Doeffinger at gmx.de>wrote:

> On 10.11.2013, at 09:18, Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> wrote:
> > This allows installing into e.g. /usr/lib/ffmpeg and binaries linked
> > against ffmpeg will pick these .so file while binaries linked against
> > some fork or different version will pick the libraries in /usr/lib.
> > There will be still some issues for binaries that (indirectly) end up
> > depending on multiple variants, but for the simpler cases it should allow
> > different applications to use different (compatible) variants that
> > are installed at the same time.
> I forgot to add: it is also useful for users who do not have root or for
> some other reason want to install in their home, while neither linking
> statically nor doing LD_LIBRARY_PATH hacks.

I haven't test it, but almost sure ff* tools will not work when not
installed to default places (/usr/ or /usr/local/) without rpath set. I was
wondering some time ago why there is no such option.

More information about the ffmpeg-devel mailing list