I had libogg 1.0 or so installed. emerge -v rhythmbox gave [...] i686-pc-linux-gnu-gcc -I../.. -I./include -I../../include -DNDEBUG -DFLaC__INLINE=__inline__ -mtune=athlon-xp -O2 -pipe -fvisibility=hidden -o .libs/flac analyze.o decode.o encode.o main.o local_string_utils.o utils.o vorbiscomment.o ../../src/libOggFLAC/.libs/libOggFLAC.so /var/tmp/portage/media-libs/flac-1.1.2-r8/work/flac-1.1.2/src/libFLAC/.libs/libFLAC.so ../../src/share/grabbag/.libs/libgrabbag.a ../../src/share/getopt/libgetopt.a ../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a ../../src/share/replaygain_synthesis/.libs/libreplaygain_synthesis.a ../../src/share/utf8/.libs/libutf8.a ../../src/libFLAC/.libs/libFLAC.so -lm ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_pagein' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_wrote' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_reset' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_reset' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_clear' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_packetin' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_packetout' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_init' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_init' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_page_checksum_set' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_pageout' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_clear' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_page_serialno' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_buffer' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_flush' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_pageout' collect2: ld returned 1 exit status make[3]: *** [flac] Error 1 [...] after "emerge -v libogg" I have libogg 1.1.2 installed, and the flac installation went fine. I suggest to include an dependency on libogg in the flac package. Reproducible: Didn't try Steps to Reproduce:
Upgrade your system properly using emerge -uD world...
deps pushed to 1.1.2, thanks.