When I emerge amule, it fails complaining about libwx_gtk2_2.4.so . Here's what I get: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D__GTK2__ -O2 -march=i686 -fomit-frame-pointer -pipe -MT amule-gsocket.o -MD -MP -MF ".deps/amule-gsocket.Tpo" \ -c -o amule-gsocket.o `test -f 'gsocket.c' || echo './'`gsocket.c; \ then mv -f ".deps/amule-gsocket.Tpo" ".deps/amule-gsocket.Po"; \ else rm -f ".deps/amule-gsocket.Tpo"; exit 1; \ fi i686-pc-linux-gnu-g++ -O2 -march=i686 -fomit-frame-pointer -pipe -o amule amule-ListenSocket.o amule-EMSocket.o amule-AddFriend.o amule-AddFileThread.o amule-animate.o amule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-CatDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-ClientList.o amule-ClientUDPSocket.o amule-CMuleNotebookBase.o amule-ColorFrameCtrl.o amule-CommentDialog.o amule-CommentDialogLst.o amule-Debug.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListCtrl.o amule-DownloadQueue.o amule-ED2KLink.o amule-EditServerListDlg.o amule-eggtrayicon.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filemem.o amule-filefn.o amule-Friend.o amule-FriendList.o amule-FriendListCtrl.o amule-gtk2-funcs.o amule-gtkplugxembed.o amule-HTTPDownloadDlg.o amule-ini2.o amule-IPFilter.o amule-KnownFile.o amule-KnownFileList.o amule-listctrl.o amule-mfc.o amule-MD5Sum.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-muuli_wdr.o amule-OScopeCtrl.o amule-otherfunctions.o amule-packets.o amule-PartFile.o amule-PPgConnection.o amule-PPgDirectories.o amule-PPgFiles.o amule-PPgGeneral.o amule-PPgNotify.o amule-PPgServer.o amule-PPgStats.o amule-PPgTweaks.o amule-PPgSourcesDropping.o amule-PPgGuiTweaks.o amule-Preferences.o amule-PreferencesDlg.o amule-Preview.o amule-QueueListCtrl.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-SearchListCtrl.o amule-server.o amule-ServerList.o amule-ServerListCtrl.o amule-ServerSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-sockets.o amule-SplitterControl.o amule-StatisticsDlg.o amule-SysTray.o amule-TabCtrl.o amule-TransferWnd.o amule-treebasc.o amule-treectlc.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtrl.o amule-UploadQueue.o amule-XBMDraw.o amule-amule.o amule-amuleDlg.o amule-gsocket.o -pthread -lwx_gtk2-2.4 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lz -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach' /usr/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name' collect2: ld returned 1 exit status make[2]: *** [amule] 1 הלקת make[2]: Leaving directory `/var/tmp/portage/amule-1.2.8/work/aMule-1.2.8/src' make[1]: *** [all-recursive] 1 הלקת make[1]: Leaving directory `/var/tmp/portage/amule-1.2.8/work/aMule-1.2.8' make: *** [all] 2 הלקת Reproducible: Always Steps to Reproduce: 1. emerge amule Actual Results: emerge failed with above error Also tried with LANG=en_US.utf8, same result. Here's emerge info: Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 01:36:22)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.4, 1.7.9-r1 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="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="he_IL.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts canna cdr cjk crypt cups curl dvd dvdr emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby samba sdl slang spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Have you tried running a revdep-rebuild ? It could be that wxGTK broke because of some abi-change in gtk and needs a rebuild.
Exactly the same problem here.
Tried revdep-rebuild - doesn't help.
Same situation, revdep result - no problem with libraries
The problems comes from wxwidget use private method of GTK+ which were public in older release. wxGTK-2.4.2-r2 fix that with the patch wxGTK-2.4.2-menu.cpp.patch . You need to rebuild this version of wxGTK. It's stable on x86. It works for me. I think this bug have to be closed.
Yes, this solved the problem. Thanks!