On Sun, Mar 27, 2016 at 5:18 PM, Carl Eugen Hoyos <[email protected]> wrote:
> Reindl Harald <h.reindl <at> thelounge.net> writes:
>
> > post your complete config.log
>
> While this is requested and ok, I slightly
> prefer to only read the tail...
>
>
So, my configure command is:
./configure --enable-libopenjpeg
--extra_cflags="-DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H"
--extra-ldflags="-L/usr/local/lib -ldl"
The last 300 lines of my config.log file is attached.
Console output doesn't have any useful info, other than the fact that
libopenjpeg failed.
In the config.log file, you will see near the end:
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -DOPJ_STATIC
-o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lopenjp2 -lm -llzma -lz
-pthread
/usr/local/lib/libopenjp2.so: undefined reference to `dlopen'
/usr/local/lib/libopenjp2.so: undefined reference to `dlclose'
/usr/local/lib/libopenjp2.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
So, I think the problem is that -ldl should appear *after* the object file,
along with -lopenjp2,not before the object file.
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return llrint(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc llrintf 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return llrintf(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc log2 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return log2(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc log2f 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return log2f(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc log10f 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return log10f(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc lrint 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return lrint(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc lrintf 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return lrintf(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc powf 2
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return powf(f, g); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc rint 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return rint(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc round 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return round(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc roundf 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return roundf(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc sinf 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return sinf(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc trunc 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return trunc(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_mathfunc truncf 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <math.h>
2 float foo(float f, float g) { return truncf(f); }
3 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_complexfunc cabs 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <complex.h>
2 #include <math.h>
3 float foo(complex float f, complex float g) { return cabs(f * I); }
4 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:4:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_complexfunc cexp 1
check_ld cc
check_cc
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <complex.h>
2 #include <math.h>
3 float foo(complex float f, complex float g) { return cexp(f * I); }
4 int main(void){ return (int) foo; }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c: In function 'main':
/tmp/ffconf.ShZXXDJs.c:4:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int main(void){ return (int) foo; }
^
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lm -llzma -lz -pthread
check_header_objcc AVFoundation/AVFoundation.h
check_objcc
BEGIN /tmp/ffconf.OFNBn8Wn.m
1 #include <AVFoundation/AVFoundation.h>
2 int main(void) { return 0; }
END /tmp/ffconf.OFNBn8Wn.m
gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.OFNBn8Wn.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
check_header_objcc QuartzCore/CoreImage.h
check_objcc
BEGIN /tmp/ffconf.OFNBn8Wn.m
1 #include <QuartzCore/CoreImage.h>
2 int main(void) { return 0; }
END /tmp/ffconf.OFNBn8Wn.m
gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.OFNBn8Wn.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
check_header_objcc QuartzCore/CoreImage.h
check_objcc
BEGIN /tmp/ffconf.OFNBn8Wn.m
1 #include <QuartzCore/CoreImage.h>
2 int main(void) { return 0; }
END /tmp/ffconf.OFNBn8Wn.m
gcc -Werror=missing-prototypes -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.OFNBn8Wn.m
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
check_lib openjpeg-2.1/openjpeg.h opj_version -lopenjp2 -DOPJ_STATIC
check_header openjpeg-2.1/openjpeg.h
check_cpp
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <openjpeg-2.1/openjpeg.h>
2 int x;
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
check_func opj_version -lopenjp2 -DOPJ_STATIC
check_ld cc -lopenjp2 -DOPJ_STATIC
check_cc -DOPJ_STATIC
BEGIN /tmp/ffconf.ShZXXDJs.c
1 extern int opj_version();
2 int main(void){ opj_version(); }
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -DOPJ_STATIC -c -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
gcc -L/usr/local/lib -ldl -Wl,--as-needed -Wl,-z,noexecstack -DOPJ_STATIC -o /tmp/ffconf.dmz9AkoL /tmp/ffconf.UopZOMks.o -lopenjp2 -lm -llzma -lz -pthread
/usr/local/lib/libopenjp2.so: undefined reference to `dlopen'
/usr/local/lib/libopenjp2.so: undefined reference to `dlclose'
/usr/local/lib/libopenjp2.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
check_lib openjpeg-2.0/openjpeg.h opj_version -lopenjp2 -DOPJ_STATIC
check_header openjpeg-2.0/openjpeg.h
check_cpp
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <openjpeg-2.0/openjpeg.h>
2 int x;
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c:1:35: fatal error: openjpeg-2.0/openjpeg.h: No such file or directory
compilation terminated.
check_lib openjpeg-1.5/openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC
check_header openjpeg-1.5/openjpeg.h
check_cpp
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <openjpeg-1.5/openjpeg.h>
2 int x;
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c:1:35: fatal error: openjpeg-1.5/openjpeg.h: No such file or directory
compilation terminated.
check_lib openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC
check_header openjpeg.h
check_cpp
BEGIN /tmp/ffconf.ShZXXDJs.c
1 #include <openjpeg.h>
2 int x;
END /tmp/ffconf.ShZXXDJs.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.UopZOMks.o /tmp/ffconf.ShZXXDJs.c
/tmp/ffconf.ShZXXDJs.c:1:22: fatal error: openjpeg.h: No such file or directory
compilation terminated.
ERROR: libopenjpeg not found
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user