eclipse doesn't find swt-gtk libraries, need to set LD_LIBRARY_PATH

Bug #445842 reported by Matthias Klose
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Eclipse for Ubuntu
New
Medium
Unassigned
eclipse (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

Please use the attached script to find the swt-gtk libs, so that the internal browser works. This is a workaround until eclipse (or the build system is fixed).

Related branches

Revision history for this message
Matthias Klose (doko) wrote :
Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
assignee: nobody → Benjamin Drung (bdrung)
Rockwalrus (rockwalrus)
Changed in eclipse-ubuntu:
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse - 3.5.1-0ubuntu2

---------------
eclipse (3.5.1-0ubuntu2) karmic; urgency=low

  * New snapshot from eclipse-build.
    - Apply GTK 2.18 z-order patch (LP: #443004).
  * Remove unversioned swt.jar link (LP: #446155).
  * Add wrapper script for setting LD_LIBRARY_PATH (LP: #445842).
  * Call remove with -f to fix FTBFS on powerpc.

 -- Benjamin Drung <email address hidden> Fri, 09 Oct 2009 21:41:39 +0200

Changed in eclipse (Ubuntu):
status: New → Fix Released
Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
assignee: Benjamin Drung (bdrung) → nobody
Revision history for this message
Roger Parkinson (9-roger) wrote :

I am getting this (or a similar issue). Here's my error:
!ENTRY org.eclipse.jface 4 0 2011-08-16 17:58:04.832
!MESSAGE Unhandled event loop exception during blocked modal context.
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
 /opt/eclipse_36_java/configuration/org.eclipse.osgi/bundles/203/1/.cp/libswt-mozilla-gtk-3659.so: libxpcom.so: cannot open shared object file: No such file or directory
 no swt-mozilla-gtk in java.library.path
 /tmp/swtlib-32/libswt-mozilla-gtk-3659.so: libxpcom.so: cannot open shared object file: No such file or directory
 Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so
))

I installed xulrunner (2.0) and also libswt-mozilla-gtk-3.5-jni
and that has fixed it.

Versions:
Helios Service Release 2 Build id: 20110218-0911 (fresh install)
Firefox 5.0
Ubuntu 11.04 (32 bit)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.