My system compiled a new x86-stable gthumb-2.6.3 for me today, the program does not run, it exits with the following error: gthumb: symbol lookup error: /usr/lib/gthumb/libgthumb.so: undefined symbol: gnome_font_selection_get_type gnome_font_selection_get_type seems to be related to libgnomeprintui, I tried reemerging gnome-base/libgnomeprintui-2.8.2 and reemerging gthumb afterwards but this did not help. Reproducible: Always Steps to Reproduce: 1. emerge current stable media-gfx/gthumb-2.6.3 2. run it 3. see it die Actual Results: gthumb: symbol lookup error: /usr/lib/gthumb/libgthumb.so: undefined symbol: gnome_font_selection_get_type Expected Results: Run the program correctly. #### Last lines of strace gthumb: mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f9a000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f99000 mprotect(0xb7908000, 4096, PROT_READ) = 0 mprotect(0xb790e000, 716800, PROT_READ|PROT_WRITE) = 0 writev(2, [{"gthumb", 6}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"/usr/lib/gthumb/libgthumb.so", 28}, {": ", 2}, {"undefined symbol: gnome_font_sel"..., 47}, {"", 0}, {"", 0}, {"\n", 1}], 10gthumb: symbol lookup error: /usr/lib/gthumb/libgthumb.so: undefined symbol: gnome_font_selection_get_type ) = 107 exit_group(127) = ? ### My emerge --info Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Celeron (Coppermine) Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 25 2005, 03:15:31)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -Wl,--as-needed" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -Wl,--as-needed" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://src.gentoo.pl/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.linux.no/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bootspla bootsplash bzip2 bzlib calendar caps cdparanoia cdr crypt cscope cups curl curlwrappers dba dvd dvdr eds encode ethereal evo faad flac foomaticdb gcj gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal howl iconv imagemagick imap imlib ipv6 irda irmc jabber jack java jpeg kdeenablefinal ladcca ladspa lcms ldap libg++ libgda libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses net nls nptl objc offensive ogg oggvorbis opengl operanom2 pam pcmcia pcre pda pdf pdflib perl png pnp ppds python qt quicktime readline real samba sasl scanner sdl slang slp speex spell sse ssl svg svga tcltk tcpd tetex theora tidy tiff timidity truetype truetype-fonts trusted type1-fonts unicode usb userlocales wifi xine xinerama xml2 xmms xprint xrandr xv xvid zlib video_cards_rage128 linguas_pl" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
OK, removing the -Wl,--as-needed linker flags fixed the problem.