FS#28624 - [extra/eclipse-cdt] swt requires libxtst

Attached to Project: Arch Linux
Opened by Michael Worcester (tubs) - Friday, 24 February 2012, 11:07 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 24 February 2012, 13:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Installing extra/eclipse-cdt presents with an option for which version of the jdk to install.

Choosing jdk7, the installation goes fine.

Loading eclipse an error is thrown (actually just informs the user to look in a log file).

!ENTRY org.eclipse.osgi 4 0 2012-02-24 10:48:35.867
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/mcw/.eclipse/org.eclipse.platform_3.7.0_1543616141/configuration/org.eclipse.osgi/bundles/314/1/.cp/libswt-pi-gtk-3738.so: libXtst.so.6: cannot open shared object file: No such file or directory
no swt-pi-gtk in java.library.path
/home/mcw/.swt/lib/linux/x86/libswt-pi-gtk-3738.so: libXtst.so.6: cannot open shared object file: No such file or directory
Can't load library: /home/mcw/.swt/lib/linux/x86/libswt-pi-gtk.so

Fixed by installing extra/libxtst

Presumably some dependency needs updating?

Additional info:
* package version(s)
mcw@archtub ~ % pacman -Ss eclipse-cdt
extra/eclipse-cdt 8.0.0-1 [installed]
C/C++ Plugin for Eclipse
mcw@archtub ~ % pacman -Ss openjdk
extra/jdk7-openjdk 7.b147_2.1-1 [installed]
Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK
extra/jre7-openjdk 7.b147_2.1-1 [installed]
Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs -Full Java runtime environment - needed for executing Java GUI and Webstart programs
extra/jre7-openjdk-headless 7.b147_2.1-1 [installed]
Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs
extra/openjdk6 6.b24_1.11.1-1
Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.
extra/openjdk6-src 6.b24_1.11.1-1
Free Java environment based on OpenJDK 6.0 Source Bundle
extra/openjdk7-src 7.b147_2.1-1
Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources
mcw@archtub ~ % pacman -Ss libxtst
extra/libxtst 1.2.0-1 [installed]
X11 Testing -- Resource extension library


* config and/or log files etc.


Steps to reproduce:

# pacman -S eclipse-cdt

Select '1' if/when given the option between JDKs.

% eclipse


This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 24 February 2012, 13:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  eclipse 8.0.1-2

Loading...