For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 3 voices, and was last updated 19 years, 1 month ago by
rshendershot.
-
AuthorPosts
-
tau0Memberlinux FC5 x86_64 UnsatisfiedLinkError libswt-mozilla-gtk-3232.so libxpcom.so: wrong ELF class: ELFCLASS64)
MOZILLA_FIVE_HOME=/usr/lib64/firefox-1.5.0.4
XPCOM=/usr/lib64/firefox-1.5.0.4/libxpcom.so
From log file:java.version=1.4.2_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86!ENTRY org.eclipse.ui 4 4 2006-08-01 07:28:45.519
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2006-08-01 07:28:45.519
!MESSAGE No more handles (java.lang.UnsatisfiedLinkError: /home/emberson/RESEARCH/eclipse-3.2/eclipse/configuration/org.eclipse.osgi/bundles/297/1/.cp/libswt-mozilla-gtk-3232.so: libxpcom.so: wrong ELF class: ELFCLASS64)
!STACK 0
org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /home/emberson/RESEARCH/eclipse-3.2/eclipse/configuration/org.eclipse.osgi/bundles/297/1/.cp/libswt-mozilla-gtk-3232.so: libxpcom.so: wrong ELF class: ELFCLASS64)
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:166)
at org.eclipse.birt.report.designer.ui.preview.editors.ReportPreviewEditor.createPartControl(ReportPreviewEditor.java:147)
………
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.UnsatisfiedLinkError: /home/emberson/RESEARCH/eclipse-3.2/eclipse/configuration/org.eclipse.osgi/bundles/297/1/.cp/libswt-mozilla-gtk-3232.so: libxpcom.so: wrong ELF class: ELFCLASS64
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1495)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:151)
… 36 moreCuriously, the file libswt-mozilla-gtk-3232.so is ELF 32-bit while the libxpcom.so
file is 64-bit (like the rest of the system).
Also swt-3.2-gtk-linux-x86_64.zip contains all 64-bit libs (but not
libswt-mozilla-gtk-3232.so).So, where does the libswt-mozilla-gtk-3232.so file come from?
I am using the following eclipse files to run with:
eclipse-SDK-3.2-linux-gtk-x86_64.tar.gz
eclipse-RCP-3.2-linux-gtk-x86_64.tar.gz
birt-report-designer-all-in-one-linux-gtk-2_1_0.tar.gz
birt-sample-plugins-2_1_0.zip
birt-database-2_1_0.zip
birt-rcp-report-designer-2_1_0.zip
emf-sdo-runtime-2.2.0.zip
xsd-runtime-2.2.0.zip
GEF-runtime-3.2.zip
swt-3.2-gtk-linux-x86_64.zipWhy is a 32-bit library in one of these? How can I fix it?
Thanks
RMEAugust 1, 2006 at 3:04 pm #255931
Riyad KallaMemberMoving to OT > Soft Dev
I don’t see that this is related to MyEclipse in any way. Please correct me if I’m wrong.
August 15, 2006 at 6:40 am #256786
rshendershotMember@support-rkalla wrote:
Moving to OT > Soft Dev
I don’t see that this is related to MyEclipse in any way. Please correct me if I’m wrong.
assume OP purchased a license to MyEclipse. Further assume s/he wishes to use it. Not having the ability to execute eclipse is rather a problem in that. Rather than be dismissive, it might have been more helpful to -oh, I dunno- help?
I’m in the same boat as the OP. I installed the 64 bit eclipse but I have firefox and mozilla backed down to 32 bit so I can use flash and java plugins. I *think* that’s where the problem is. I’m going to try reinstalling eclipse 32 bit.
You folks might consider catching these issues from the website by testing the platform arch and giving us x86_64 users a heads up.
But in any case, here’s a thought from another licensed user: Everything is relevant that prevents using MyEclipse. Some things you cannot help with, but surely, the base platform upon which your product is built is not one of them?
August 15, 2006 at 6:52 am #256788
rshendershotMemberrunning against the eclipse 32 bit platform seems to have been successful. This is no longer OT, yes?
August 15, 2006 at 11:55 am #256822
Riyad KallaMemberassume OP purchased a license to MyEclipse. Further assume s/he wishes to use it. Not having the ability to execute eclipse is rather a problem in that. Rather than be dismissive, it might have been more helpful to -oh, I dunno- help?
I would encourage you to re-read the original post. The stack trace is from the SWT Browser which is being called from BIRT. The plugin list does not show MyEclipse anywhere, so no, I cannot assume “OP purchased a license for MyEclipse”. Unfortunately we cannot answer every general question that folks post to the forums. We tried to do that when we first started off and it had the support team spending 50% of their time answering more and more general programming/troubleshooting questions than actually supporting the product. We now have enough users that we can’t afford to do it anymore. However, we still do try to help users out with non-MyEclipse questions if it’s quick.
Your situation is quite different, but the Mozilla dependency is causing the same problem most likely as what happens with the platform SWT Browser. Unfortunately we don’t test on 64-bit builds of Linux yet because we don’t have those resources available to us yet. I can’t comment on the success of mixing 64-bit Eclipse with 32-bit Mozilla, but I imagine it won’t work well which your followup seemed to indicate, either way I’m glad it’s working.
August 15, 2006 at 7:04 pm #256900
rshendershotMemberyour call. Mine is working fine so far. I found time to update everything and add pydev, epic, C/C++, C#, etc. I may have not been clear about that but was rushed.
My original problem only complained about libswt but I’m on java 1.5 not 1.4 as the OP. His problem was in the main ui loop, AFAICT. I missed that bit about the BIRT report designer so it wasn’t entirely like my problem. But I think it’s probably similar enough… in any case, it was enough to point out to me what I needed to do. My trace had nothing to say about Mozilla but that sparked my thinking about some dependancy there on my machine also. Seems to have worked out.
The real issue to me is, whether you are equipped to V&V on linux x86_64 or not, moving a post into Off Topic is pretty much the death knell for our questions. If you cannot answer them and if you hide our questions, it’s a short trip to being orphaned for us 64 bit users.
Further, if you’re not yet prepared to help with this platform then a heads up would be helpful. I saw no reason not to d/l the eclipse x86_64 build, but did that as launched from myeclipse email (I presume your installation links on the web site proper are similar).
If it proves to not work, I’ll run it in vmWare before I regress to 32 bit linux 😉
-
AuthorPosts