Issue #265

Debian: Opening objects fails with libxpcom.so not found

Added by Daniel Hornung about 5 years ago. Updated about 1 month 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 4 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 about 1 year ago

  • File 40.gif added

#3 Updated by Josephzes Josephzes about 1 year ago

  • File 543.gif added

#4 Updated by admin admin about 1 year ago

  • File deleted (40.gif)

#5 Updated by admin admin about 1 year ago

  • File deleted (543.gif)

#6 Updated by karina_Amilk karina_Amilk 10 months ago

  • File 256.gif added

#7 Updated by AleX_Amilk AleX_Amilk 10 months ago

  • File 44.gif added

#8 Updated by heristelsukr heristelsukr 9 months ago

  • File 77.gif added

#9 Updated by FranZEP FranZEP 9 months ago

  • File 183.gif added

#10 Updated by admin admin 9 months ago

  • File deleted (183.gif)

#11 Updated by admin admin 9 months ago

  • File deleted (77.gif)

#12 Updated by admin admin 9 months ago

  • File deleted (256.gif)

#13 Updated by admin admin 9 months ago

  • File deleted (44.gif)

#14 Updated by NorvezhskiyDomLah NorvezhskiyDomLah 8 months ago

  • File 17.gif added

#15 Updated by admin admin 8 months ago

  • File deleted (17.gif)

#16 Updated by VishivkaAnovA VishivkaAnovA 8 months ago

  • File 190.gif added

#17 Updated by admin admin 8 months ago

  • File deleted (190.gif)

#18 Updated by BillySic BillySic 8 months ago

  • File 184.gif added

#19 Updated by admin admin 8 months ago

  • File deleted (184.gif)

#20 Updated by school79Caw school79Caw 7 months ago

  • File 243.gif added

#21 Updated by admin admin 7 months ago

  • File deleted (243.gif)

#22 Updated by Normanreicy Normanreicy 6 months ago

  • File foto1170396124-min.gif added

#23 Updated by admin admin 6 months ago

  • File deleted (foto1170396124-min.gif)

#24 Updated by Andrewaporo Andrewaporo about 1 month ago

my cohorts have been hoping about lately. This kind of information on this treasure trove is superb and helpful and is going to assist My wife and her kids in our studies a couple times a week. It appears as if everyone gained a significant amount of expertise about this and other pages and types of info definitely show it. I’m not typically on the web during the night but when I drinking a beer I am always hunting for this kind of knowledge or stuff similarly concerning it. If you get a chance, check out at my site. Wedding Photographer Seattle

Also available in: Atom PDF