[FFmpeg-user] Dynamically linking to OpenJPEG 2 library

Aaron Boxer boxerab at gmail.com
Mon Mar 28 19:54:47 CEST 2016


On Mon, Mar 28, 2016 at 7:32 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Aaron Boxer <boxerab <at> gmail.com> writes:
>
> > I am having trouble compiling FFmpeg with OpenJPEG 2 built
> > as a shared library.
>
> I downloaded the current openjpeg release:
> https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz
>
> I built and installed it with default options, a shared
> library that does not link to dl(open) was installed.
>
> I ran configure with --enable-libopenjpeg, it succeeded
> out-of-the-box. make did not show any errors, the
> resulting FFmpeg binaries link against libopenjpeg.
>

Thanks, I did a fresh ubuntu install, cloned FFmpeg, downloaded openjpeg
from the current release,
and it did build with no errors.

The strange part is if I build openjpeg from the current repo master, I get
the undefined reference errors.

So, it looks like a bug in current openjpeg master.

Thanks for your help,
Aaron


More information about the ffmpeg-user mailing list