Porgrams using swt (azureus for example...) can't start because there are unresolved symbols in /usr/lib/libswt-gnome-gtk-3106.so "ldd /usr/lib/libswt-gnome-gtk-3106.so" says libswt-gnome-gtk-3106.so is statically linked... but nm shows unresolved symbols. In fact it's a small problem in the ebuild : $ grep gnome_lib /usr/portage/dev-java/swt/swt-3.1.ebuild gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export-dynamic:--export-dynamic:"` -e "s:\`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0\`:${gnome_libs}:" \ ... gnome_lib is defined and gnome_libs used ! Here is the patch : --- /usr/portage/dev-java/swt/swt-3.1.ebuild.old 2005-02-18 22:25:26.000000000 +0100 +++ /usr/portage/dev-java/swt/swt-3.1.ebuild 2005-02-18 22:25:59.000000000 +0100 @@ -53,7 +53,7 @@ src_compile() { if use gnome ; then - gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export-dynamic:--export-dynamic:"` + gnome_libs=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export-dynamic:--export-dynamic:"` fi gtk_libs=`pkg-config --libs gtk+-2.0 | sed -e "s:-Wl,--export-dynamic:--export-dynamic:"` Reproducible: Always Steps to Reproduce:
thanks for your report, fixed in cvs.
This problem seems to be in dev-java/swt-3.0-r2 as well as of may 12, 2005.