Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry
Accepted Solution

Failing to load IDE.

Hi there,

 

I'm just starting to bring our app to Blackberry Playbook (Native). I've setup the native SDK on Ubuntu (64 bit) and get the following error log when the IDE fails to load (below). Can someone tell a Linux newbie what I need to do in order to fix this please? Obviously this is holding up bringing our app to market. Looks like it's barfing on some 64 bit libs of some sort?

 

Many thanks,

 

Steve Haggerty.

Technical Director

Rubicon Development.

 

!SESSION 2012-03-04 12:02:15.412 -----------------------------------------------
eclipse.buildId=2.0
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2012-03-04 12:02:16.244
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    /home/steve/.momentics/ndk-2.0.0/configuration/org.eclipse.osgi/bundles/298/1/.cp/libswt-pi-gtk-3738.so: libXtst.so.6: wrong ELF class: ELFCLASS64
    no swt-pi-gtk in java.library.path
    /home/steve/.swt/lib/linux/x86/libswt-pi-gtk-3738.so: libXtst.so.6: wrong ELF class: ELFCLASS64
    Can't load library: /home/steve/.swt/lib/linux/x86/libswt-pi-gtk.so

    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
    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:132)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:690)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

 

 

 

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )
Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry

Re: Failing to load IDE.

FYI, I fixed this with:

sudo apt-get install ia32-libs

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )