reassign libavutil-dev thanks On Wed, May 21, 2008 at 03:38:40PM +0200, Lucas Nussbaum wrote: > > g++ -g -O2 -o testvideo testvideo.o /usr/lib/libMagick++.so -L/usr/lib/X11 > > /usr/lib/libWand.so /usr/lib/libMagick.so /usr/lib/liblcms.so > > /usr/lib/libtiff.so -lc /usr/lib/libjpeg.so -lfontconfig -lXext -lSM -lICE > > -lX11 -lXt -lbz2 -lpthread /usr/lib/libfreetype.so -ldl /usr/lib/libxml2.so > > -lboost_thread -lavformat -lavcodec -lavutil /usr/lib/libvorbisenc.so > > /usr/lib/libvorbis.so /usr/lib/libtheora.so /usr/lib/libogg.so -ldts > > /usr/lib/liba52.so /usr/lib/libraw1394.so -ldc1394_control -lgsm -lz -lm > > ./.libs/libvideo.a ../graphics/.libs/libgraphics.a ../base/.libs/libbase.a > > /usr/bin/ld: cannot find -ldts > > collect2: ld returned 1 exit status
The problem is that "ffmpeg-config --libs" returns: -lvorbis -lvorbisenc -ltheora -logg -ldts -la52 -lraw1394 -ldc1394_control -lgsm -lz -lm And it libavutil-dev does not depend on _any_ of those libraries -dev packages. It should either add the proper depends, or not return all those libraries. Having an option to link static might also be useful. The only library it provides is libavutil, and that's not even returned in the list of libraries. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]