eclipse won't start after successful installation: "can't find libXtst.so" Reproducible: Always Steps to Reproduce: 1. emerge eclipse-sdk 2. run it 3.
At least DT_NEEDED entries don't indicate this. betelgeuse@pena ~ $ qlist eclipse | xargs scanelf -L -n -q -F '%n #F' | tr , ' ' | xargs qfile -C | sort -u dev-libs/glib (/usr/lib/libgobject-2.0.so.0) media-libs/fontconfig (/usr/lib/libfontconfig.so.1) media-libs/freetype (/usr/lib/libfreetype.so.6) sys-devel/gcc (/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgcj_bc.so.1) sys-libs/glibc (/lib/libc.so.6) sys-libs/glibc (/lib/libdl.so.2) sys-libs/glibc (/lib/libm.so.6) sys-libs/glibc (/lib/libpthread.so.0) sys-libs/glibc (/lib/librt.so.1) sys-libs/zlib (/lib/libz.so.1) x11-libs/gtk+ (/usr/lib/libgdk_pixbuf-2.0.so.0) x11-libs/gtk+ (/usr/lib/libgdk-x11-2.0.so.0) x11-libs/gtk+ (/usr/lib/libgtk-x11-2.0.so.0) x11-libs/libX11 (/usr/lib/libX11.so.6) x11-libs/libXrender (/usr/lib/libXrender.so.1) could of course be swt trying to dlopen. You didn't post emerge --info so please do and run revdep-rebuild to make sure you don't have libs broken. Also post the output of the above command.
% emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0 Timestamp of tree: Sat, 07 Mar 2009 19:45:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -frename-registers -fomit-frame-pointer -ftracer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -frename-registers -fomit-frame-pointer -ftracer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://local.weirdwire.ru/distr/mirror/gentoo ftp://oschtan.academ.org/gentoo/distfiles ftp://oschtan.academ.org/gentoo/nonfree/distfiles" LANG="en_US.UTF8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://local.weirdwire.ru/gentoo-portage" USE="3dnow alsa berkdb bzip2 cli cracklib cups gdbm gif iconv isdnlog jpeg midi minimal mmx mp3 mudflap ncurses nptl nptlonly opengl openmp pcre png pppd python readline reflection session spl sse ssl symlink sysfs tcpd unicode vorbis x86 xorg" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #2) > % emerge --info and the other info asked?
qlist eclipse | xargs scanelf -L -n -q -F '%n #F' | tr , ' ' | xargs qfile -C | sort -u dev-libs/glib (/usr/lib/libgobject-2.0.so.0) media-libs/fontconfig (/usr/lib/libfontconfig.so.1) media-libs/freetype (/usr/lib/libfreetype.so.6) sys-libs/glibc (/lib/libc.so.6) sys-libs/glibc (/lib/libm.so.6) sys-libs/zlib (/lib/libz.so.1) x11-libs/gtk+ (/usr/lib/libgdk_pixbuf-2.0.so.0) x11-libs/gtk+ (/usr/lib/libgdk-x11-2.0.so.0) x11-libs/gtk+ (/usr/lib/libgtk-x11-2.0.so.0) x11-libs/libX11 (/usr/lib/libX11.so.6) x11-libs/libXrender (/usr/lib/libXrender.so.1) libs are not broken. Here is ~/workspace/.metadata/.log: !SESSION 2009-03-15 05:10:56.222 ----------------------------------------------- eclipse.buildId=M20060921-0945 java.version=1.6.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 !ENTRY org.eclipse.osgi 2 1 2009-03-15 05:10:59.646 !MESSAGE NLS missing message: fileInitializer_missingFileName in: org.eclipse.core.internal.runtime.messages !ENTRY org.eclipse.osgi 4 0 2009-03-15 05:11:00.007 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: /home/emmerday/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/83/1/.cp/libswt-pi-gtk-3235.so: libXtst.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1687) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:433) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
Dependencies on x11 packages added.