This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Beta version 4.1.0.02006 for Linux

Hi

I'm testing the beta version for linux, but I can't run it using AMD64. There is a 64 bit version? Are there plans to make a full version for linux?

 

Error:

java.lang.UnsatisfiedLinkError: ~/.eclipse/org.eclipse.platform_3.2.0_365672896/configuration/org.eclipse.osgi/bundles/232/1/.cp/libswt-pi-gtk-3232.so:

~/.eclipse/org.eclipse.platform_3.2.0_365672896/configuration/org.eclipse.osgi/bundles/232/1/.cp/libswt-pi-gtk-3232.so:

wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

java.lang.UnsatisfiedLinkError: /home/facu/.eclipse/org.eclipse.platform_3.2.0_365672896/configuration/org.eclipse.osgi/bundles/232/1/.cp/libswt-pi-gtk-3232.so: /home/facu/.eclipse/org.eclipse.platform_3.2.0_365672896/configuration/org.eclipse.osgi/bundles/232/1/.cp/libswt-pi-gtk-3232.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1659)
    at java.lang.Runtime.loadLibrary0(Runtime.java:840)
    at java.lang.System.loadLibrary(System.java:1047)
    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:124)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:76)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    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:996)
    at org.eclipse.core.launcher.Main.main(Main.java:971)
..

maybe caused by the eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.2.0.vTI-201001132100.jar.back file

 

  • Hi Facundo,

    When do you get this error? Just launching CCS? Which Linux platform are you running on?

    Thanks

    ki

  • Hi Ki,

    I get this error when launching, after the splash screen.

    I'm using debian with the linux image 2.6.32-3-amd64.

    Maybe it's using some incompatible system libraries?

     

    Thanks

     

    Facundo

     

    (additionaly, i'm testing ccs with wine, and it's working very well, with some problems in the editor...)

  • Facundo,

    I don't think CCS works or was tested on a 64-bit Linux, since I found several issues when trying to start it in Ubuntu 9.10 64-bit. I found a similar problem caused by incompatibilities with the GTK library and I imagine it is because Eclipse 3.2 (what CCSv4 is based) support for 64-bit operating systems was very flaky. The link below contains the systems where Eclipse was tested (all 32-bit) and mentions that "An early access version of the Eclipse SDK is also available for 64-bit Linux GTK. Testing has been limited to early access 64-bit J2SEs running on x86-64 processors."

    http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_2.html#TargetOperatingEnvironments

    I didn't test this, but maybe you would be able to run it if you install the 32-bit versions of the GTK libraries.

    What do you get when you run ldd eclipse in the <install_dir>/ccsv4/eclipse directory? This may help you find out if you are missing any libraries...

    To be sure the libraries not "seen" by CCS are actually installed in your system, do a ldconfig -p | grep <name_of_the_missing_library>

    In my case CCS reports several GTK libraries missing, but all of them are installed in my system in /usr/local/lib - however they are 64-bit versions only.

    Anywyays, the only suggestion I have is to try to install the 32-bit GTK libraries and see if it works.

    Hope this helps,

    Rafael