Ffmpeg-0.10.2 doesn't compile with glibc-2.15 and sys-devel/gcc-4.6.2: libavfilter/libavfilter.so: undefined reference to `dlopen' libavfilter/libavfilter.so: undefined reference to `dlclose' libavfilter/libavfilter.so: undefined reference to `dlsym' collect2: ld returned 1 exit status ffpmeg-0.10 compiles successful. Revdep-rebuild and emerge -1 sys-devel/gcc glibc doesn't helped. Reproducible: Always Steps to Reproduce: 1.Emerge =glibc-2.15 =sys-devel/gcc-4.6.2 2.Emerge =ffmpeg-0.10.2 3.ld error Actual Results: collect2: ld returned 1 exit status Expected Results: Compiles successfully.
Created attachment 306039 [details] emerge --info
Created attachment 306041 [details] ffmpeg's build.log
Created attachment 306043 [details] ffmpeg's build.log (now gunziped)
ffmpeg-9999 doesn't compile too.
Please re-emerge sys-devel/libtool and try again.
Already tried also it hasn't helped.
Compiles fine with: USE="-frei0r" emerge -1 ffmpeg
I experienced the same problem on 2 our of 3 machines, including a successful compilation with USE="-frei0r". In case it is relevent all three machines have nearly-identical configurations but the one that successfully compiled with USE="frei0r" is an opteron machine and the two machines which experienced failure were a core 2 quad and a core i7. All have -march=native in CFLAGS.
I can confirm this: core i7, building failure with same error, and fix by disabling frei0r use-flag.
please attach config.log ; frei0r depends on dlopen so this should just get added automatically, unless something has failed in the detection. please reopen with that info
Created attachment 307733 [details] config.log Attached congig.log also, I noticed that it compiles fine with USE="frei0r -fftools_graph2dot"
(In reply to comment #11) > Created attachment 307733 [details] > config.log > > Attached congig.log > > also, I noticed that it compiles fine with USE="frei0r -fftools_graph2dot" well, yes, but libavfilter remain underlinked, disabling graph2dot just hides the problem :)
backported a fix to link libavfilter with libdl in 0.10.2 when using frei0r