Hi there! Thanks in advance for any help you may be able to give me.  I’m 
trying to get some tools together with the aspiration to build an 
integration/app in linux (Centos)

I found your excellent script and was working my way through it but hit a snag 
with opus and x264.

https://trac.ffmpeg.org/wiki/CompilationGuide/Centos


ffmpeg]# ./configure --prefix="$MPEG_S/ffmpeg_build" --extra-cflags="-I 
$MPEG_S/ffmpeg_build/include" --extra-ldflags="-L $MPEG_S/ffmpeg_build/lib" 
--bindir="$MPEG_S/bin" --enable-gpl --enable-nonfree --enable-libfdk_aac 
--enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264
ERROR: libx264 not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

ffmpeg]# ls /software/ffmpeg/ffmpeg_build/lib/pkgconfig/
fdk-aac.pc  ogg.pc  opus.pc  vorbisenc.pc  vorbisfile.pc  vorbis.pc  vpx.pc  
x264.pc
[root@f4s-qnode-01-1 ffmpeg]# 


ffmpeg]# ls $MPEG_S/ffmpeg_build/lib
libfdk-aac.a  libfdk-aac.la  libmp3lame.a  libmp3lame.la  libogg.a  libogg.la  
libopus.a  libopus.la  libvorbis.a  libvorbisenc.a  libvorbisenc.la  
libvorbisfile.a  libvorbisfile.la  libvorbis.la  libvpx.a  libx264.a  libyasm.a 
 pkgconfig

The earlier installation and compile seemed to go without any fatal errors.

ffmpeg]# x264 --version
x264 0.144.2 40bb568
built on Feb  7 2015, gcc: 4.4.7 20120313 (Red Hat 4.4.7-11)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later


config.log
gcc -L /software/ffmpeg/ffmpeg_build/lib -Wl,--as-needed -Wl,-z,noexecstack -o 
/tmp/ffconf.1JUlLYR1 /tmp/ffconf.aCGCwfvJ.o -lx264 -lvpx -lvpx -lvpx -lvpx 
-lvorbisenc -lvorbis -logg -lmp3lame -lfdk-aac -lm -lz -pthread -lrt
/software/ffmpeg/ffmpeg_build/lib/libx264.a(opencl.o): In function 
`x264_opencl_close_library':
opencl.c:(.text+0x5f1): undefined reference to `dlclose'
/software/ffmpeg/ffmpeg_build/lib/libx264.a(opencl.o): In function 
`x264_opencl_load_library':
opencl.c:(.text+0x643): undefined reference to `dlopen'
opencl.c:(.text+0x65c): undefined reference to `dlsym'
opencl.c:(.text+0x676): undefined reference to `dlsym'
opencl.c:(.text+0x690): undefined reference to `dlsym'
opencl.c:(.text+0x6aa): undefined reference to `dlsym'
opencl.c:(.text+0x6c4): undefined reference to `dlsym'
/software/ffmpeg/ffmpeg_build/lib/libx264.a(opencl.o):opencl.c:(.text+0x6de): 
more undefined references to `dlsym' follow
/software/ffmpeg/ffmpeg_build/lib/libx264.a(opencl.o): In function 
`x264_opencl_load_library':
opencl.c:(.text+0x944): undefined reference to `dlclose'
/software/ffmpeg/ffmpeg_build/lib/libx264.a(opencl.o): In function 
`x264_opencl_lookahead_init':
opencl.c:(.text+0x18f8): undefined reference to `dlopen'
opencl.c:(.text+0x1913): undefined reference to `dlsym'
opencl.c:(.text+0x1927): undefined reference to `dlsym'
opencl.c:(.text+0x193e): undefined reference to `dlsym'
opencl.c:(.text+0x1952): undefined reference to `dlsym'
opencl.c:(.text+0x1988): undefined reference to `dlclose'
collect2: ld returned 1 exit status
ERROR: libx264 not found




Again,

Many thanks for your help.


Cheers,

Rick Butts


_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to