checking ffmpeg/avformat.h usability... yes checking ffmpeg/avformat.h presence... yes checking for ffmpeg/avformat.h... yes checking for av_open_input_file in -lavformat... no checking for av_rescale_q in -lavutil... yes checking for avcodec_encode_audio in -lavcodec... no configure: error: cannot find ffmpeg See `config.log' for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /mnt/data/var/tmp/portage/media-sound/sox-14.0.0-r1/work/sox-14.0.0/config.log * * ERROR: media-sound/sox-14.0.0-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * sox-14.0.0-r1.ebuild, line 35: Called econf '--enable-alsa' '--disable-debug' '--disable-libao' '--enable-oss' '--with-lame' '--with-mad' '--with-sndfile' '--with-flac' '--with-ogg' '--with-samplerate' '--with-ffmpeg' '--with-ladspa' '--without-amr-wb' '--without-amr-nb' '--enable-fast-ulaw' '--enable-fast-alaw' * ebuild.sh, line 638: Called die * The specific snippet of code: * die "econf failed" Reproducible: Always Steps to Reproduce: 1.emerge sox 2. 3. Actual Results: configure fail with cannot find ffmpeg Expected Results: That sox configure and compile fine
Created attachment 139286 [details] config.log for sox-14.0.0.r1
Created attachment 139287 [details] My emerge --info
Run revdep-rebuild... <snip> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libamrnb.so.2, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libavcodec.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libamrwb.so.2, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libavcodec.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libavcodec.so: undefined reference to `Decoder_Interface_exit' </snip>
Thanks Jacob. I see that it is a problem with ffmpeg: $ ffmpeg -formats ffmpeg: error while loading shared libraries: libamrnb.so.2: cannot open shared object file: No such file or directory I will run revdep rebuild in a few days because I am in the middle of an emerge world for now, and huge packages like oofice are in the queue.
*** Bug 204280 has been marked as a duplicate of this bug. ***