[Libav-user] Error while linking ffmpeg

... ... bersac_1 at hotmail.fr
Tue Jul 2 11:03:09 CEST 2013


hi,
Thanks for your response,>you may link to the wrong libavcodec How could I know that ?I only have one livavutil installed on my computer, here is the response to the command ldconfig -p|grep libav (command which list all the libraries installed on my computer and filter it :libavutil.so.52 (libc6,x86-64) => /usr/local/lib/libavutil.so.52	libavutil.so (libc6,x86-64) => /usr/local/lib/libavutil.so
	libavformat.so.55 (libc6,x86-64) => /usr/local/lib/libavformat.so.55
	libavformat.so (libc6,x86-64) => /usr/local/lib/libavformat.so
	libavfilter.so.3 (libc6,x86-64) => /usr/local/lib/libavfilter.so.3
	libavfilter.so (libc6,x86-64) => /usr/local/lib/libavfilter.so
	libavdevice.so.55 (libc6,x86-64) => /usr/local/lib/libavdevice.so.55
	libavdevice.so (libc6,x86-64) => /usr/local/lib/libavdevice.so
	libavc1394.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavc1394.so.0
	libavc1394.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavc1394.so
	libavcodec.so.55 (libc6,x86-64) => /usr/local/lib/libavcodec.so.55
	libavcodec.so.55 (libc6,x86-64) => /usr/lib/libavcodec.so.55
	libavcodec.so (libc6,x86-64) => /usr/local/lib/libavcodec.so
	libavcodec.so (libc6,x86-64) => /usr/lib/libavcodec.so
The message error  is still :g++ -o test  Capture.o EnregistrerVideo.o ffmpegTools.o FluxVideoModifie.o main_stream_vlc.o test.o Transcodage.o vizILogger.o VLCStreamer.o -lavformat -lavcodec -lavutil -lswscale -lopencv_core -lopencv_highgui  -lvlc -lvlccore -lboost_filesystem -lboost_log_setup -lboost_log -lboost_chrono -lz -lpthread -ldl -lm  /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libavcodec.so: undefined reference to `avpriv_update_lls at LIBAVUTIL_52'/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libavcodec.so: undefined reference to `avpriv_evaluate_lls at LIBAVUTIL_52'collect2: ld returned 1 exit statusmake: *** [test] Error 1
Cordialement,Guillaume Bersac237bis rue de Pessac33000 Bordeaux06.65.30.89.43 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130702/869956bd/attachment.html>


More information about the Libav-user mailing list