[FFmpeg-user] Dynamically linking to OpenJPEG 2 library
boxerab at gmail.com
Mon Mar 28 15:14:45 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:
> 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, Carl. That is good to hear.
Do you mind telling me:
1) your OS
2) the complete ./configure command line
I would like to try this myself.
> > (Compiling with statically built OpenJPEG 2 works fine)
> > Here is the output of make:
> > libavcodec/libavcodec.a(libopenjpegdec.o): In function
> > `libopenjpeg_decode_frame':
> > /home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:378:
> > undefined reference to `opj_create_decompress'
> Running nm on the installed library shows
> opj_create_compress here.
More information about the ffmpeg-user