Issue #265

Debian: Opening objects fails with libxpcom.so not found

Added by Daniel Hornung over 4 years ago. Updated 1 day ago.

Status:ResolvedStart date:11 December 2015
Priority:MediumDue date:
Assignee:-% Done:

50%

Category:-
Target version:-

Description

In a fresh installation (unpacked the zipped binaries) on Debian testing, I experience the following problem:

Opening e.g. the classes of a project fails with this error message:

org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/bin/firefox'](java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
    /home/daniel/.eclipse/1404645758_linux_gtk_x86_64/configuration/org.eclipse.osgi/168/0/.cp/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
    no swt-mozilla-gtk in java.library.path
    /home/daniel/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
    Can't load library: /home/daniel/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
))
Failed to execute runnable (org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/bin/firefox'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
    /home/daniel/.eclipse/1404645758_linux_gtk_x86_64/configuration/org.eclipse.osgi/168/0/.cp/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
    no swt-mozilla-gtk in java.library.path
    /home/daniel/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
    Can't load library: /home/daniel/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
))

Further investigation shows that libxpcom.so seems to be missing in current versions of Firefox, iirc the Mozilla people say that libxul should be used instead.

History

#1 Updated by C├ędric Marin over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

According to a stackoverflow question , you may fix this problem with installing the libwebkitgtk debian package with the following shell command:

1sudo apt-get install libwebkitgtk-1.0-0

#2 Updated by Jamessot Jamessot 5 months ago

  • File 40.gif added

#3 Updated by Josephzes Josephzes 5 months ago

  • File 543.gif added

#4 Updated by admin admin 5 months ago

  • File deleted (40.gif)

#5 Updated by admin admin 5 months ago

  • File deleted (543.gif)

#6 Updated by karina_Amilk karina_Amilk 2 months ago

  • File 256.gif added

#7 Updated by AleX_Amilk AleX_Amilk 2 months ago

  • File 44.gif added

#8 Updated by heristelsukr heristelsukr about 1 month ago

  • File 77.gif added

#9 Updated by FranZEP FranZEP 30 days ago

  • File 183.gif added

#10 Updated by admin admin 29 days ago

  • File deleted (183.gif)

#11 Updated by admin admin 29 days ago

  • File deleted (77.gif)

#12 Updated by admin admin 29 days ago

  • File deleted (256.gif)

#13 Updated by admin admin 29 days ago

  • File deleted (44.gif)

#14 Updated by NorvezhskiyDomLah NorvezhskiyDomLah 7 days ago

  • File 17.gif added

#15 Updated by admin admin 7 days ago

  • File deleted (17.gif)

#16 Updated by VishivkaAnovA VishivkaAnovA 4 days ago

  • File 190.gif added

#17 Updated by admin admin 4 days ago

  • File deleted (190.gif)

Also available in: Atom PDF