Running emerge causes shared-mime-info source to be unpacked, ./configure to be run and then a second or two later the process fails.
Steps to Reproduce:
1. emerge -uDN world
Emerge process fails with the following messages:
INTLTOOL_EXTRACT=../intltool-extract srcdir=. ../intltool-update --gettext-package shared-mime-info --pot
WARNING: This version of gettext does not support extracting non-ASCII
strings. That means you should install a version of gettext
that supports non-ASCII strings (such as GNU gettext >= 0.12),
or have to let non-ASCII strings untranslated. (If there is any)
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
ERROR: xgettext failed to generate PO template file. Please consult
error message above if there is any.
make: *** [shared-mime-info.pot] Error 1
make: Leaving directory `/var/tmp/portage/x11-misc/shared-mime-info-0.21-r1/work/shared-mime-info-0.21/po'
make: *** [check-recursive] Error 1
!!! ERROR: x11-misc/shared-mime-info-0.21-r1 failed.
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
shared-mime-info-0.21-r1.ebuild, line 32: Called die
!!! emake failed.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.21-r1/temp/build.log'.
Properly merged/built shared-mime-info package.
Linux skitfish 2.6.19-gentoo-r5 #22 Sat Aug 11 17:39:15 BST 2007 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
sys-devel/gettext version 0.16.1
libgettextsrc-0.16.1.so => /usr/lib/libgettextsrc-0.16.1.so (0x00002b7e2f1b9000)
libgettextlib-0.16.1.so => /usr/lib/libgettextlib-0.16.1.so (0x00002b7e2f2f0000)
libc.so.6 => /lib/libc.so.6 (0x00002b7e2f40f000)
libexpat.so.0 => not found
locate libexpat.so.0 # this file definitely exists in /usr/lib32 - my locate db wasn't out of date
equery b /usr/lib32/libexpat.so.0
[ Searching for file(s) /usr/lib32/libexpat.so.0 in *... ]
app-emulation/emul-linux-x86-baselibs-10.2 (/usr/lib32/libexpat.so.0 -> libexpat.so.0.5.0)
Re-emerging app-emulation/emul-linux-x86-baselibs-10.2 and then trying emerge -uDN world again didn't make a difference.
*** This bug has been marked as a duplicate of bug 41124 ***
Eh, the other one.
*** This bug has been marked as a duplicate of bug 128069 ***