UnsatisfiedLinkError: libswt-pi-gtk-3235.so: ld.so.1: java: fatal: 
libXtst.so.6: open failed: No such file or directory
-----------------------------------------------------------------------------------------------------------------------

                 Key: MGWT-72
                 URL: http://jira.codehaus.org/browse/MGWT-72
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Apache Maven 2.1.0 (r755702; 2009-03-18 12:10:27-0700)
Java version: 1.7.0-ea
Java home: /opt/jdk1.7.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "sunos" version: "5.11" arch: "x86" Family: "unix"

SunOS serveris 5.11 snv_111 i86pc i386 i86xpv Solaris

            Reporter: Malachi de AElfweald
         Attachments: myArtifactId.tgz

I created an example from the archetype. Trying to run it gives linkage errors.

mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo 
-DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=1.1-INTERNAL-r9679 
-DgroupId=myGroupId -DartifactId=myArtifactId

mala...@serveris[130]:~/work/gwt/myArtifactId % mvn gwt:run -DrunTarget=/ 
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gwt-maven-archetype-project
[INFO]    task-segment: [gwt:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing gwt:run
[INFO] [gwt:generateAsync {execution: default}]
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [gwt:run]
[INFO] using GWT jars from project dependencies : 1.6.4
[INFO] Unpack native libraries required to run GWT
[INFO] establishing classpath list (scope = runtime)
[INFO] auto discovered modules [myGroupId.Application]
[ERROR] Exception in thread "main" java.lang.UnsatisfiedLinkError: 
/export/home/malachi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/libswt-pi-gtk-3235.so:
 ld.so.1: java: fatal: libXtst.so.6: open failed: No such file or directory
[ERROR]         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[ERROR]         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1773)
[ERROR]         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1670)
[ERROR]         at java.lang.Runtime.load0(Runtime.java:787)
[ERROR]         at java.lang.System.load(System.java:1041)
[ERROR]         at 
org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
[ERROR]         at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
[ERROR]         at 
org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
[ERROR]         at 
org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
[ERROR]         at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
[ERROR]         at 
com.google.gwt.dev.SwtHostedModeBase.<clinit>(SwtHostedModeBase.java:82)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Command [[
/bin/sh -c /opt/jdk1.7.0/jre/bin/java -Xmx512m -classpath 
"/export/home/malachi/work/gwt/myArtifactId/src/main/java":"/export/home/malachi/work/gwt/myArtifactId/src/main/resources":"/export/home/malachi/work/gwt/myArtifactId/war/WEB-INF/classes":"/export/home/malachi/.m2/repository/com/google/gwt/gwt-user/1.6.4/gwt-user-1.6.4.jar":"/export/home/malachi/.m2/repository/com/google/gwt/gwt-dev/1.6.4/gwt-dev-1.6.4-linux.jar"
 com.google.gwt.dev.HostedMode -war 
"/export/home/malachi/work/gwt/myArtifactId/war" -gen 
"/export/home/malachi/work/gwt/myArtifactId/target/.generated" -logLevel INFO 
-style OBF -port 8888 -startupUrl "/" myGroupId.Application
]] failed with status 1
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri May 08 21:33:07 PDT 2009
[INFO] Final Memory: 13M/219M
[INFO] ------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to