Package: ffmpeg Severity: normal Hi,
first of all, I couldn't be happier to see ffmpeg finally arrive in Debian. One problem, though: I am trying to rebuild my package 'motion' with ffmpeg support, but it fails with this output: [ ... ] Motion object files compiled. Linking Motion... -------------------------------------------------------------------------------- i386-linux-gcc -Wl,-rpath,/usr/lib -o motion motion.o conf.o draw.o video.o track.o alg.o event.o picture.o rotate.o netcam.o netcam_wget.o webcam.o ffmpeg.o xmlrpc-httpd.o control.o -lm -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lm -lz -L/usr/lib -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -L/usr/lib -lmysqlclient -lz -L/usr/lib -lpq /usr/lib/libavformat.a(ogg.o)(.text+0x57): In function `ogg_write_header': : undefined reference to `ogg_stream_init' /usr/lib/libavformat.a(ogg.o)(.text+0x109): In function `ogg_write_header': : undefined reference to `ogg_stream_packetin' /usr/lib/libavformat.a(ogg.o)(.text+0x1ab): In function `ogg_write_packet': : undefined reference to `ogg_stream_flush' /usr/lib/libavformat.a(ogg.o)(.text+0x22b): In function `ogg_write_packet': : undefined reference to `ogg_stream_packetin' /usr/lib/libavformat.a(ogg.o)(.text+0x24b): In function `ogg_write_packet': : undefined reference to `ogg_stream_pageout' /usr/lib/libavformat.a(ogg.o)(.text+0x2c8): In function `ogg_write_trailer': : undefined reference to `ogg_stream_flush' /usr/lib/libavformat.a(ogg.o)(.text+0x30a): In function `ogg_write_trailer': : undefined reference to `ogg_stream_clear' /usr/lib/libavformat.a(ogg.o)(.text+0x339): In function `ogg_read_header': : undefined reference to `ogg_sync_init' [ much of the same... ] /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x6bc): In function `oggvorbis_decode_frame': : undefined reference to `vorbis_synthesis_read' /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x6dd): In function `oggvorbis_decode_frame': : undefined reference to `vorbis_synthesis_blockin' /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x70c): In function `oggvorbis_decode_close': : undefined reference to `vorbis_info_clear' /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x714): In function `oggvorbis_decode_close': : undefined reference to `vorbis_comment_clear' collect2: ld returned 1 exit status make[1]: *** [motion] Error 1 make[1]: Leaving directory `/home/ddevel/debian/motion-3.1.19' make: *** [build-stamp] Error 2 Doing cd /usr/lib/ ln -s libavcodec-cvs.so libavcodec.so ln -s libavformat-cvs.so libavformat.so apparently fixes the problem and I can now link against ffmpeg (libavcodec/libavformat) to properly build my package. Any change I can convince you to provide me those two symlinks in your next upload of ffmpeg? I suspect other future packages linking against ffmpeg would need those two to be present. Best regards,