[FFmpeg-trac] #2807(build system:closed): libopenjpeg v1.5.1 library discovery failed

FFmpeg trac at avcodec.org
Fri Jul 11 17:10:57 CEST 2014

#2807: libopenjpeg v1.5.1 library discovery failed
             Reporter:  floodkoff    |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  build
              Version:  2.0          |  system
             Keywords:  libopenjpeg  |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => worksforme


 The error is:
 i686-w64-mingw32-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
 -I/home/mybestfriend/openjpeg-1.5.1/libopenjpeg -std=c99 -include
 ./compat/msvcrt/snprintf.h -fomit-frame-pointer -c -o
 /tmp/ffconf.19XcSWiA.o /tmp/ffconf.5cH5dlGQ.c
 i686-w64-mingw32-gcc -L/home/mybestfriend/openjpeg-1.5.1/libopenjpeg/.libs
 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--as-needed -o
 /tmp/ffconf.q7296gAS.exe /tmp/ffconf.19XcSWiA.o -lopenjpeg -lm -lpsapi
 -ladvapi32 -lshell32
 /tmp/ffconf.19XcSWiA.o:ffconf.5cH5dlGQ.c:(.text+0xc): undefined reference
 to `_opj_version'
 I often use a similar configure line and I can confirm that openjpeg-1.5.1
 does contain this symbol here:
 $ nm ../openjpeg-1.5.1/libopenjpeg/.libs/libopenjpeg.so.1.5.0 |grep
 00000000000118c0 T opj_version
 $ nm ../openjpeg-1.5.1/libopenjpeg/.libs/libopenjpeg.a |grep opj_version
 0000000000000000 T opj_version
 Either your library was miscompiled or your toolchain has a problem

Ticket URL: <https://trac.ffmpeg.org/ticket/2807#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list