[FFmpeg-user] --extra-ldflags not working

Aaron Boxer boxerab at gmail.com
Sun Mar 27 15:29:55 CEST 2016


On Sun, Mar 27, 2016 at 9:23 AM, Aaron Boxer <boxerab at gmail.com> wrote:

> Dear List,
> I am still troubleshooting linking to a local build of openjpeg.
>
> This is a static build of openjpeg, and the library  libopenjp2.a
> is placed in the /usr/local/lib folder.
>
> (I am on Ubuntu)
>
> My configure command is:
>
> . $ ./configure --enable-libopenjpeg
> --extra_cflags="-DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H"
> --extra-ldflags="-L/usr/local/lib"
>
> But this fails with a "libopenjpeg not found" error.
>
>
> If I copy libopenjp2.a to the /usr/lib  folder, then configure succeeds.
>


For now, I have created a symlink from /usr/local/lib/libopenjp2.a   to
/usr/lib/libopenjp2.a


More information about the ffmpeg-user mailing list