[FFmpeg-user] Static compile with librtmp

Young Kim shadowing71 at gmail.com
Thu Nov 8 20:12:32 CET 2012


Hey guys,

I posted earlier about problems with static compiling ffmpeg with libass, but now I'm having issues with compiling ffmpeg with librtmp. In particular, after I run configure with --enable-librtmp, it claims that librtmp has not been found. I checked against config.log and found this:

gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/home/ykim/encodebuild/include -L/home/ykim/encodebuild/lib -std=c99 -fomit-frame-pointer -pthread -I/home/ykim/encodebuild/include -I/home/ykim/encodebuild\
/include/freetype2 -I/usr/include/fribidi -I/home/ykim/encodebuild/include/freetype2 -I/home/ykim/encodebuild/include -I/home/ykim/encodebuild/include -L/home/ykim/encodebuild/lib -c -o /tmp/ffconf.jmEgsLjp.o /tmp/ffconf.ZE1UyyqX.c
gcc -L/home/ykim/encodebuild/lib -Wl,--as-needed -I/home/ykim/encodebuild/include -L/home/ykim/encodebuild/lib -o /tmp/ffconf.URKSgaEh /tmp/ffconf.jmEgsLjp.o -lrtmp -lz -lssl -lcrypto -lmp3lame -L/home/ykim/encodebuild/lib -lfreetype -lfaac -L/home/ykim/encodebuild/\
lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lm -pthread -lz -lrt -lfontconfig -lfreetype -lexpat -lenca -lfribidi
/home/ykim/encodebuild/lib/librtmp.so: undefined reference to `dlsym'
/home/ykim/encodebuild/lib/librtmp.so: undefined reference to `dlerror'/home/ykim/encodebuild/lib/librtmp.so: undefined reference to `dladdr'
/home/ykim/encodebuild/lib/librtmp.so: undefined reference to `dlopen'
/home/ykim/encodebuild/lib/librtmp.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
ERROR: librtmp not found


Any suggestions?

Thanks, 
Young



More information about the ffmpeg-user mailing list