x86_64-pc-linux-gnu-gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat - Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-n eeded -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresamp le:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample -o tools/graph2dot tools/graph2dot.o -lavfilter -lswresample -lavformat -lavcodec -lswresample -lavresample -lavcodec -lavcodec -lavcodec -lavcodec -lavcodec -lavformat -lavcodec -lavcodec -lswresample -lpostproc -lavformat -lavcodec -lswscale -lavresample -lswscale -lswscale -lavcodec -lswscale -lswresample -lavutil -lXv -lX11 -lXext -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lnettle -lhogweed -lgmp -lGL -lxvidcore -lx264 -lvpx -lvpx -lvpx -lvpx -lvorbisenc -lvorbis -logg -lvo-aacenc -ltheoraenc -ltheoradec -logg -lspeex -lopus -lopenjpeg -lmp3lame -lfreetype -lgnutls -lm -lbz2 -lz -pthread libavfilter/libavfilter.so: undefined reference to `dlsym' libavfilter/libavfilter.so: undefined reference to `dlerror' libavfilter/libavfilter.so: undefined reference to `dlopen' libavfilter/libavfilter.so: undefined reference to `dlclose' collect2: error: ld returned 1 exit status /var/tmp/portage/media-video/ffmpeg-2.2.2/work/ffmpeg-2.2.2/library.mak:106: recipe for target 'tools/graph2dot' failed make: *** [tools/graph2dot] Error 1 It seems that call is missing a -ldl. Or perhaps the linker invocation for libavfilter.so should have that library added. Not sure how to patch that into the build system, though.
Created attachment 377098 [details] emerge --info
Please attach the entire build log to this bug report.
Created attachment 377112 [details] media-video:ffmpeg-2.2.2:20140516-195330.log.gz (In reply to Jeroen Roovers from comment #2) > Please attach the entire build log to this bug report. Sorry, I thought I had attached it in comment #0. But apparently the attachment was rejected due to being too big, while the bug report itself got accepted. So now I had to compress the file.
Exactly same errors here.
I get exactly the same error to. Building like this (found on gentoo forums) works, but, of course, is not an option to leave it like that: FFTOOLS="aviocat cws2fws ffeval ismindex pktdumper qt-faststart trasher" emerge -1 ffmpeg
you're building with USE="ladspa -frei0r", right ?
(In reply to Alexis Ballier from comment #6) > you're building with USE="ladspa -frei0r", right ? Yes (at least me).
(In reply to Ilya Ershov from comment #7) > (In reply to Alexis Ballier from comment #6) > > you're building with USE="ladspa -frei0r", right ? > > Yes (at least me). fixed