[FFmpeg-user] problem configuring ffmpeg
James Darnley
james.darnley at gmail.com
Sat Sep 6 20:33:46 CEST 2014
On 2014-09-06 17:39, tat su wrote:
> On slight variation : during the x264 configure I had to add --disable-asm wich allowed it to run successfully
No, no, no! You are supposed to install yasm rather than crippling x264
and ffmpeg.
> t at tsu:~/x264$ ./configure --enable-static
> Found no assembler
> Minimum version is yasm-1.2.0
> If you really want to compile without asm, configure with --disable-asm.
This is a pretty clear message from x264's configure.
> t at tsu:~/ffmpeg$ ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
> yasm/nasm not found or too old. Use --disable-yasm for a crippled build.
This is also pretty clear.
As for your problem with configure and libx264...
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.S6rsZ6A7.o /tmp/ffconf.icuPABPN.c
> gcc -Wl,--as-needed -o /tmp/ffconf.AbuF3bda /tmp/ffconf.S6rsZ6A7.o -lx264 -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -lz -pthread
> //usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_load_library':
> opencl.c:(.text+0xbb): undefined reference to `dlopen'
> opencl.c:(.text+0xd4): undefined reference to `dlsym'
> opencl.c:(.text+0xee): undefined reference to `dlsym'
> opencl.c:(.text+0x108): undefined reference to `dlsym'
> opencl.c:(.text+0x122): undefined reference to `dlsym'
> opencl.c:(.text+0x13c): undefined reference to `dlsym'
> //usr/local/lib/libx264.a(opencl.o):opencl.c:(.text+0x156): more undefined references to `dlsym' follow
> //usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_load_library':
> opencl.c:(.text+0x3c4): undefined reference to `dlclose'
> //usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_close_library':
> opencl.c:(.text+0x46d): undefined reference to `dlclose'
> //usr/local/lib/libx264.a(opencl.o): In function `x264_opencl_lookahead_init':
> opencl.c:(.text+0x13a7): undefined reference to `dlopen'
> opencl.c:(.text+0x13c5): undefined reference to `dlsym'
> opencl.c:(.text+0x13d5): undefined reference to `dlsym'
> opencl.c:(.text+0x13e7): undefined reference to `dlsym'
> opencl.c:(.text+0x13f9): undefined reference to `dlsym'
> opencl.c:(.text+0x147f): undefined reference to `dlclose'
> opencl.c:(.text+0x148e): undefined reference to `dlclose'
> opencl.c:(.text+0x1ad4): undefined reference to `dlclose'
> collect2: error: ld returned 1 exit status
> ERROR: libx264 not found
Try adding --extra-libs=-ldl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140906/b6da1936/attachment.asc>
More information about the ffmpeg-user
mailing list