Error installing Myth2 Linux from CD in 64-bit xubuntu 11.10

A forum for solving problems that might be encountered during installation, updating, or in game.
Post Reply
LJF1
Posts: 15
Joined: Fri Jun 24, 2011 7:11 am

Error installing Myth2 Linux from CD in 64-bit xubuntu 11.10

Post by LJF1 »

The error message is from running in terminal is:
luke@luke-Satellite-L350:~$ sudo /home/luke/Downloads/Myth2_172_Linux/installer
[sudo] password for luke:
java/lang/ExceptionInInitializerError
at iK.a (line 209)
at java/lang/Thread.run (line 100)
caused by: java/lang/ExceptionInInitializerError
at avian/Classes.initialize (native)
at java/lang/Class.a (line 152)
at java/lang/Class.a (line 140)
at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
at iK.a (line 209)
at java/lang/Thread.run (line 100)
caused by: java/lang/ExceptionInInitializerError
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/widgets/Display.<clinit> (unknown line)
at avian/Classes.initialize (native)
at java/lang/Class.a (line 152)
at java/lang/Class.a (line 140)
at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
at iK.a (line 209)
at java/lang/Thread.run (line 100)
caused by: java/lang/UnsatisfiedLinkError: Could not load SWT library. Reasons:
library not found: libswt-pi-gtk-3659.so
library not found: libswt-pi-gtk.so
library not found: /tmp/swtlib-32/libswt-pi-gtk-3659.so
library not found: /tmp/swtlib-32/libswt-pi-gtk.so

at org/eclipse/swt/internal/Library.a (unknown line)
at org/eclipse/swt/internal/Library.a (unknown line)
at org/eclipse/swt/internal/gtk/OS.<clinit> (unknown line)
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/widgets/Display.<clinit> (unknown line)
at avian/Classes.initialize (native)
at java/lang/Class.a (line 152)
at java/lang/Class.a (line 140)
at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
at iK.a (line 209)
at java/lang/Thread.run (line 100)
I'm currently running a new installation as my laptop has been in the shop for the last two weeks. I got bored of windows and installed onto my external harddrive.
My laptop didn't have a problem running it, and it's got the exact same OS. The only thing I can think of is I am missing some 32 bit libraries, but that makes no sense as other then skype I don't run anything else 32bit (except myth).
[There is the fact this laptop is a pile of.......
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Myrd »

This looks like the same problem as this poster:

http://tain.totalcodex.net/forum/viewto ... f=4&t=5748

I'd really like to figure this one out so I can update the installer with something that either fixes the problem or gives a better error message...

What version of Linux are you using?

Also, to help me diagnose the problem, can you download this file:

http://projectmagma.net/~myrd/installer_test1.gz

Extract it and place 'installer_test1' alongside the 'installer' file you were trying from the original download. Then, run './installer_test1' from the command-line and post its output here.

This new build prints extra debugging information when loading libraries, so hopefully it will shed some light on why it's failing for you. Thanks!
LJF1
Posts: 15
Joined: Fri Jun 24, 2011 7:11 am

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by LJF1 »

Hi, thanks for the help.
The version I am using is xubuntu 11.10 64bit.
The kernel info is:
-Kernel release: 3.0.0-14-generic
-Kernel version: #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011



The print out from the test is:
open (null) as 0xf7799918
open (null) as 0xf7799918
dlerror opening libswt-gtk-3659.so:
libswt-gtk-3659.so: cannot open shared object file: No such file or directory
dlerror opening libswt-gtk.so:
libswt-gtk.so: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-gtk-3659.so:
/tmp/swtlib-32/libswt-gtk-3659.so: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-gtk.so:
/tmp/swtlib-32/libswt-gtk.so: cannot open shared object file: No such file or directory
open /tmp/swtlib-32/libswt-gtk-3659.so as 0x8e350e8
dlerror opening libswt-pi-gtk-3659.so:
libswt-pi-gtk-3659.so: cannot open shared object file: No such file or directory
dlerror opening libswt-pi-gtk.so:
libswt-pi-gtk.so: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-pi-gtk-3659.so:
/tmp/swtlib-32/libswt-pi-gtk-3659.so: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-pi-gtk.so:
/tmp/swtlib-32/libswt-pi-gtk.so: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-pi-gtk-3659.so:
libXtst.so.6: wrong ELF class: ELFCLASS64
java/lang/ExceptionInInitializerError
at iK.a (line 209)
at java/lang/Thread.run (line 100)
caused by: java/lang/ExceptionInInitializerError
at avian/Classes.initialize (native)
at java/lang/Class.a (line 152)
at java/lang/Class.a (line 140)
at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
at iK.a (line 209)
at java/lang/Thread.run (line 100)
caused by: java/lang/ExceptionInInitializerError
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/widgets/Display.<clinit> (unknown line)
at avian/Classes.initialize (native)
at java/lang/Class.a (line 152)
at java/lang/Class.a (line 140)
at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
at iK.a (line 209)
at java/lang/Thread.run (line 100)
caused by: java/lang/UnsatisfiedLinkError: Could not load SWT library. Reasons:
library not found: libswt-pi-gtk-3659.so
library not found: libswt-pi-gtk.so
library not found: /tmp/swtlib-32/libswt-pi-gtk-3659.so
library not found: /tmp/swtlib-32/libswt-pi-gtk.so
library not found: /tmp/swtlib-32/libswt-pi-gtk-3659.so

at org/eclipse/swt/internal/Library.a (unknown line)
at org/eclipse/swt/internal/Library.a (unknown line)
at org/eclipse/swt/internal/gtk/OS.<clinit> (unknown line)
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/internal/Converter.a (unknown line)
at org/eclipse/swt/widgets/Display.<clinit> (unknown line)
at avian/Classes.initialize (native)
at java/lang/Class.a (line 152)
at java/lang/Class.a (line 140)
at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
at iK.a (line 209)
at java/lang/Thread.run (line 100)
*I am currently running off my external hard drive on a laptop that could well be the problem as my laptop has been in the shop getting some general maintainance (since I discovered to my joy I have a 5 year warranty that I didn't pay for). This laptop has been nothing but a pain, as I got myth2 working on my own laptop with the exact same operating system (xubuntu 11.10 64 bit)
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Myrd »

Can you try installing "lib32-libxtst" from your package manager and see if that fixes the problem?

Please let me know if it does, in which case I will make the installer provide that info in a helpful error message.
LJF1
Posts: 15
Joined: Fri Jun 24, 2011 7:11 am

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by LJF1 »

Can't find that package but could find libxtst6:i386, but couldn't install that.
Sorry I couldn't be more help.
LJF1
Posts: 15
Joined: Fri Jun 24, 2011 7:11 am

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by LJF1 »

If you don't mind waiting until the 3rd January (possibly later) I get my laptop back, which is also 64 bit xubuntu 11.10, and I have myth2 working on there (the laptop I'm using, to be blunt, sucks ass).
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Myrd »

The package in question is ia32-libs. I'll update the installer to give a good error message in this case.
LJF1
Posts: 15
Joined: Fri Jun 24, 2011 7:11 am

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by LJF1 »

Just got my laptop back (much later than I expected".
If there is still a problem, I should be able to help if you tell me what to do, it works perfectly for me.
LJF1
Posts: 15
Joined: Fri Jun 24, 2011 7:11 am

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by LJF1 »

I just checked and I did have that package installed, so looks like there's no more problems for 64bit.
Propagandhi
Posts: 33
Joined: Sat Oct 14, 2006 11:11 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Propagandhi »

I'm running into this on a 64bit gentoo machine. Not sure how to install that lib, I have most of the x86 emul packages..

Would it be useful to put together a 64 bit installer? I'll post here if I figure out how to get that library on Gentoo (via portage).
Propagandhi
Posts: 33
Joined: Sat Oct 14, 2006 11:11 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Propagandhi »

So it turns out I have the 32 bit version of libXtst, but I still can't run the (enhanced) installer. I'm not sure what the equivalent of the ia32-libs package is in portage.

Here's the output that results when I run it from a command prompt:

Code: Select all

open (null) as 0xf77298f8
open (null) as 0xf77298f8
dlerror opening libswt-gtk-3659.so:
   libswt-gtk-3659.so: cannot open shared object file: No such file or directory
dlerror opening libswt-gtk.so:
   libswt-gtk.so: cannot open shared object file: No such file or directory
open /tmp/swtlib-32/libswt-gtk-3659.so as 0x9331e98
dlerror opening libswt-pi-gtk-3659.so:
   libswt-pi-gtk-3659.so: cannot open shared object file: No such file or directory
dlerror opening libswt-pi-gtk.so:
   libswt-pi-gtk.so: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-pi-gtk-3659.so:
   libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
dlerror opening /tmp/swtlib-32/libswt-pi-gtk.so:
   /tmp/swtlib-32/libswt-pi-gtk.so: cannot open shared object file: No such file or directory
java/lang/ExceptionInInitializerError
  at iK.a (line 209)
  at java/lang/Thread.run (line 100)
caused by: java/lang/ExceptionInInitializerError
  at avian/Classes.initialize (native)
  at java/lang/Class.a (line 152)
  at java/lang/Class.a (line 140)
  at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
  at iK.a (line 209)
  at java/lang/Thread.run (line 100)
caused by: java/lang/ExceptionInInitializerError
  at org/eclipse/swt/internal/Converter.a (unknown line)
  at org/eclipse/swt/internal/Converter.a (unknown line)
  at org/eclipse/swt/widgets/Display.<clinit> (unknown line)
  at avian/Classes.initialize (native)
  at java/lang/Class.a (line 152)
  at java/lang/Class.a (line 140)
  at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
  at iK.a (line 209)
  at java/lang/Thread.run (line 100)
caused by: java/lang/UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        library not found: libswt-pi-gtk-3659.so
        library not found: libswt-pi-gtk.so
        library not found: /tmp/swtlib-32/libswt-pi-gtk-3659.so
        library not found: /tmp/swtlib-32/libswt-pi-gtk.so

  at org/eclipse/swt/internal/Library.a (unknown line)
  at org/eclipse/swt/internal/Library.a (unknown line)
  at org/eclipse/swt/internal/gtk/OS.<clinit> (unknown line)
  at org/eclipse/swt/internal/Converter.a (unknown line)
  at org/eclipse/swt/internal/Converter.a (unknown line)
  at org/eclipse/swt/widgets/Display.<clinit> (unknown line)
  at avian/Classes.initialize (native)
  at java/lang/Class.a (line 152)
  at java/lang/Class.a (line 140)
  at org/eclipse/swt/graphics/Device.<clinit> (unknown line)
  at iK.a (line 209)
  at java/lang/Thread.run (line 100)
Edit: for kicks I tried emerging emul-linux-x86-java (which was moderately painful due to Sun being stupid) and then (not as root) running java-config to use that jre. Didn't seem to make a difference.
Myrd
Site Admin
Posts: 4029
Joined: Fri Mar 19, 2004 10:17 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Myrd »

Can you post the output of 'ldd /tmp/swtlib-32/*.so' after running the installer?

It looks like the 32-bit version of 'libgtk-x11-2.0.so' isn't being found, but the above command should list any other libraries that are missing.

The reason the installer is 32-bit only is because Myth2 is 32-bit, and if you can't run the 32-bit installer, chances are you can't run the 32-bit Myth2.
Propagandhi
Posts: 33
Joined: Sat Oct 14, 2006 11:11 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Propagandhi »

Here's the output:

/tmp/swtlib-32/libswt-gtk-3659.so:
linux-gate.so.1 => (0xf777a000)
libc.so.6 => /lib32/libc.so.6 (0xf75ec000)
/lib/ld-linux.so.2 (0xf777b000)
/tmp/swtlib-32/libswt-pi-gtk-3659.so:
linux-gate.so.1 => (0xf77c5000)
libgtk-x11-2.0.so.0 => not found
libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf7739000)
libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf7733000)
libc.so.6 => /lib32/libc.so.6 (0xf75d5000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf75ba000)
libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf74b9000)
librt.so.1 => /lib32/librt.so.1 (0xf74b0000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7393000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7383000)
libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7374000)
/lib/ld-linux.so.2 (0xf77c6000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf735a000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7356000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7352000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf734c000)

I'll look into libgtk-x11-2.0.so.0 once I finish making my salad.
Propagandhi
Posts: 33
Joined: Sat Oct 14, 2006 11:11 pm

Re: Error installing Myth2 Linux from CD in 64-bit xubuntu 1

Post by Propagandhi »

emerge emul-linux-x86-gtklibs did it, my final list of x86 stuff (this is probably more than is strictly necessary):

* Searching for *x86* ...
[IP-] [ ] app-emulation/emul-linux-x86-baselibs-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-compat-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-gtklibs-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-medialibs-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-opengl-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-sdl-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-soundlibs-20110928:0
[IP-] [ ] app-emulation/emul-linux-x86-xlibs-20110928:0
[IP-] [ ] dev-libs/libx86-1.1-r1:0

That's the output of equery list *x86*

So to summarize: The installer runs, I'm good to go. I'll report back with any issues :D
Post Reply