Problem installing on 64-bit Linux

For problems with the game

Moderators: jelco, bert_the_turtle, Chris, Icepick, Rkiver, Punisher Bass

eythian
level0
Posts: 1
Joined: Sun May 27, 2007 3:31 am

Problem installing on 64-bit Linux

Postby eythian » Sun May 27, 2007 3:37 am

Hi, I can't run the demo installer on 64-bit Ubuntu Linux 7.04. This happens:

Code: Select all

$ ./uplink-demo-1.54.sh
Verifying archive integrity... All good.
Uncompressing Uplink demo 1.54DEMO...........................................................................................
/home/robin/.setup11653: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory


I have the library:

Code: Select all

$ ls -l /usr/lib/libgtk-1.2.so.0
lrwxrwxrwx 1 root root 19 2007-05-27 14:06 /usr/lib/libgtk-1.2.so.0 -> libgtk-1.2.so.0.9.1


however, this is the 64-bit version. If I force the issue:

Code: Select all

$ LD_LIBRARY_PATH=/usr/lib ./uplink-demo-1.54.sh
Verifying archive integrity... All good.
Uncompressing Uplink demo 1.54DEMO...........................................................................................
/home/robin/.setup11735: error while loading shared libraries: libgtk-1.2.so.0: wrong ELF class: ELFCLASS64


How can I fix this?
User avatar
frenchfrog
level5
level5
Posts: 2572
Joined: Sun Sep 22, 2002 7:11 pm
Location: Quebec

Postby frenchfrog » Mon May 28, 2007 10:03 pm

Be sure to have the 32 bit compatibility things installed.

And GTK 1 ...
The Ultimate Uplink Guide (for any question on Uplink)
Latest Uplink Patch
fairbanks002
level1
level1
Posts: 17
Joined: Sun Mar 18, 2007 5:25 pm
Location: Daytona Beach, FL, USA
Contact:

I had this same problem in Fedora 7 x86-64

Postby fairbanks002 » Mon Aug 20, 2007 4:42 pm

I had the same problem you are having with the libgtk files. I fixed it by going to the program add/remove manager (I forget what it's called exactly) in the GUI. Search for "gtk", as the package the includes the library starts with gtk, not with libgtk as I originally thought.

Make sure the check mark next to v1 of gtk is installed. Also, make sure its the x86 version and not the x86-64 version since the game runs in 32 bit mode.

I hope this helps.
-fairbanks002
nef
level0
Posts: 2
Joined: Mon Aug 27, 2007 3:44 am

Postby nef » Mon Aug 27, 2007 3:50 am

I'm also having this problem, and I have libgtk-1.2 installed, and also 32-bit compatibility libraries.
fairbanks002 wrote:IAlso, make sure its the x86 version and not the x86-64 version since the game runs in 32 bit mode.

Ubuntu's Synaptic Package Manager doesn't seem to let you choose 32-bit files.

Solution:
The instructions in this post worked for me:
http://ubuntuforums.org/showpost.php?p= ... ostcount=2
User avatar
frenchfrog
level5
level5
Posts: 2572
Joined: Sun Sep 22, 2002 7:11 pm
Location: Quebec

Postby frenchfrog » Mon Aug 27, 2007 2:27 pm

Copied linked post:

Cappy wrote: Re: Uplink won't install with 64-bit
Install getlibs: http://ubuntuforums.org/showthread.php?t=474790
Code:

Code: Select all

cd /tmp
wget -q http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs
chmod +x getlibs
sudo mv getlibs /usr/bin
cd ~


and then
Code:

Code: Select all

sudo getlibs -32 libgtk-1.2.so.0 libgmodule-1.2.so.0


You may need to repeat if more libraries are missing.

Here are some libraries I found Darwinia (made by the same game maker) needed, which may or may not be needed by Uplink:
Code:

Code: Select all

sudo apt-get install ia32-libs ia32-libs-sdl libc6-i386 lib32gcc1


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests