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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Nov 23 10:04:40 CET 2013


On Fri, Nov 22, 2013 at 07:52:36PM -0800, Timothy Gu wrote:
> On Thu, Nov 14, 2013 at 6:42 AM, Nicolas George <george at nsup.org> wrote:
> > Le decadi 20 brumaire, an CCXXII, Lukasz M a écrit :
> >> 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.

Note that installing a dynamically linked version into default /usr/local
could still have issues, it could for example end up using the .so
libraries from /usr if they are the same major version.
Which is why ordinary users really should keep the static linking
default.

> > Except if they are statically linked, which is the default.
> >
> > IMHO, the patch is good as is: it is simple and useful.
> >
> > Consistency checks and warnings can come later if someones wants them.
> >
> > Regards,
> >
> > --
> >   Nicolas George
> 
> Reimar, you can apply it now, and probably backport it. The unapplied
> patch is kind of blocking my work on Debian toolchain for ffmpeg.

Sorry, I forgot I hadn't applied it.


More information about the ffmpeg-devel mailing list