Hi all,
I'm trying to install Darwinia on Ubuntu 9.10 and I get the following message when trying to install the 1.4b and 1.3. I'm a bit new to linux and I am struggling with this problem.
I've read that this problem is also an issue with Uplink.
paul@paul-quad:~/Downloads$ sh darwinia-full-1.4.0b9.sh
Verifying archive integrity... All good.
Uncompressing Darwinia full 1.4.0b9......................................................................
/home/paul/.setup3522: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory
Thanks,
Paul
Installing Darwinia and Uplink on Ubuntu 9.10 libgtk-1.2
Moderators: jelco, bert_the_turtle, Chris, andy, John
-
- level0
- Posts: 2
- Joined: Mon Nov 16, 2009 1:31 am
- bert_the_turtle
- level5
- Posts: 4795
- Joined: Fri Oct 13, 2006 6:11 pm
- Location: Cologne
- Contact:
Apparently, the installer requires libgtk version 1.2. You probably have a later version only. You'll find tons of other threads if you search for 'libgtk-1.2', most of them with stuff people have tried which may work for you. If you're running the 32 bit edition, try
Code: Select all
sudo aptitude install libgtk1.2
-
- level0
- Posts: 2
- Joined: Mon Nov 16, 2009 1:31 am
Loki, dated but still loved
Ubuntu have removed the files you need in 9.10 but you can install ones from 9.04, I would not expect this to break your system, I just did it on my Mythbuntu box and it's ok but your mileage may vary.
you could do this manually but just open a terminal and paste these commands in one shot:
wget http://yu.archive.ubuntu.com/ubuntu/poo ... 2_i386.deb
wget http://de.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb
wget http://de.archive.ubuntu.com/ubuntu/poo ... d2_all.deb
sudo dpkg -i *.deb
if your using 64 bit change the 'i386' to 'amd64' on the first 2 lines
you could do this manually but just open a terminal and paste these commands in one shot:
wget http://yu.archive.ubuntu.com/ubuntu/poo ... 2_i386.deb
wget http://de.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb
wget http://de.archive.ubuntu.com/ubuntu/poo ... d2_all.deb
sudo dpkg -i *.deb
if your using 64 bit change the 'i386' to 'amd64' on the first 2 lines
Installing w/o GTK libs
See my post on the uplink forums for installing without using GTK. I know it works for Uplink, I'm not sure if it will for Darwinia.
Beemer
Beemer
- dimension128
- level0
- Posts: 5
- Joined: Mon Jan 25, 2010 10:02 am
I have it working. On Ubuntu 9.10 64bit
Well I was a little scared to buy the game, because I couldn't get the demo to work properly. But I went ahead and bought it, and I had to go through a fair amount of troubleshooting/google-foo, but I have the game working!
Ill do the best I can to list the steps I took to make it work. Unfortunately I didn't really keep track, so this is all from my fragile memory.
First of all, the installer wants an old version of libgtk. In Ubuntu 9.10 this version is depreciated.
You need this even with the patches, as they also utilise the loki installer.
Part 1.
Now, if your running 32bit, your all good. Just install the following packages, then skip down to part 2.
http://packages.ubuntu.com/en/jaunty/libgtk1.2-common - This one is for all arch's.
http://packages.ubuntu.com/en/jaunty/libglib1.2ldbl -- This one may or may not be needed, I'm not sure.
http://packages.ubuntu.com/en/jaunty/libgtk1.2
If your on 64bit, you need to install those packages for your arch, and then also download the 32bit versions of them.
Now extract the files from the 32bit packages to some place. On Ubuntu you can just right click on the files and use whatever 'extractor' program you have at your disposal. For me, I right click -> Open with -> Archive Manager. You want to get the "data.tar.gz" file. And then extract the contents of this file.
Once you have the files extracted from one of these packages, go into its lib folder.
All of the files inside the lib folder need to be copied to your /usr/lib32 folder. And of course this requires root.
Here are the steps to take via the command line.
(Just replace the filename with whatever package you are working with)
Part 2.
Now you also need to install the libstdc5 stuff.
I followed the instructions located here.
http://hsmak.wordpress.com/2009/12/01/how-to-fix-libstdc5-dependency-problem-in-ubuntu-9-10/
In short, its the same process, Install the package for your arch.
If your running 64bit, you also need to download the 32bit package, extract it, and put its lib files into your lib32.
http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
Part 3.
Now, one more thing needs to happen.
Wherever you installed darwinia "/usr/local/games/darwinia" by default...
You need to go into the lib folder there, and silence the evil libgcc_s.so.1 file.
As I understand it, Removing or renaming this file causes darwinia to look for libgcc on your system instead of using its own pre-packaged version. And doing this works for me.
Heres the command line version.
One last thing.
Whenever you run an update, the loki installer says "This will overwrite the game" or whatever. Just go ahead and do it. But you need to re-run the above command to kill the libgcc_s.so.1 file again. Because running the update will put it back.
Let me know how this works for you. If you run into an error, maybe it will jog my memory and Ill be able to remember any other things I did to get this working. But I'm pretty sure this is everything that's needed.
Ill do the best I can to list the steps I took to make it work. Unfortunately I didn't really keep track, so this is all from my fragile memory.
First of all, the installer wants an old version of libgtk. In Ubuntu 9.10 this version is depreciated.
You need this even with the patches, as they also utilise the loki installer.
Part 1.
Now, if your running 32bit, your all good. Just install the following packages, then skip down to part 2.
http://packages.ubuntu.com/en/jaunty/libgtk1.2-common - This one is for all arch's.
http://packages.ubuntu.com/en/jaunty/libglib1.2ldbl -- This one may or may not be needed, I'm not sure.
http://packages.ubuntu.com/en/jaunty/libgtk1.2
If your on 64bit, you need to install those packages for your arch, and then also download the 32bit versions of them.
Now extract the files from the 32bit packages to some place. On Ubuntu you can just right click on the files and use whatever 'extractor' program you have at your disposal. For me, I right click -> Open with -> Archive Manager. You want to get the "data.tar.gz" file. And then extract the contents of this file.
Once you have the files extracted from one of these packages, go into its lib folder.
All of the files inside the lib folder need to be copied to your /usr/lib32 folder. And of course this requires root.
Here are the steps to take via the command line.
(Just replace the filename with whatever package you are working with)
Code: Select all
sudo dpkg-deb -x libgtk1.2_1.2.10-18.1build2_i386.deb ./tmp #this is the command to extract the files from the .deb
Code: Select all
sudo cp ./tmp/usr/lib/* /usr/lib32/ #copying the lib files to your lib23
Code: Select all
sudo rm -R ./tmp #removing the newly created tmp folder in the current directory.
Part 2.
Now you also need to install the libstdc5 stuff.
I followed the instructions located here.
http://hsmak.wordpress.com/2009/12/01/how-to-fix-libstdc5-dependency-problem-in-ubuntu-9-10/
In short, its the same process, Install the package for your arch.
If your running 64bit, you also need to download the 32bit package, extract it, and put its lib files into your lib32.
http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
Part 3.
Now, one more thing needs to happen.
Wherever you installed darwinia "/usr/local/games/darwinia" by default...
You need to go into the lib folder there, and silence the evil libgcc_s.so.1 file.
As I understand it, Removing or renaming this file causes darwinia to look for libgcc on your system instead of using its own pre-packaged version. And doing this works for me.
Heres the command line version.
Code: Select all
sudo mv /usr/local/games/darwinia/lib/libgcc_s.so.1 /usr/local/games/darwinia/lib/libgcc_s.so.1.backup
One last thing.
Whenever you run an update, the loki installer says "This will overwrite the game" or whatever. Just go ahead and do it. But you need to re-run the above command to kill the libgcc_s.so.1 file again. Because running the update will put it back.
Let me know how this works for you. If you run into an error, maybe it will jog my memory and Ill be able to remember any other things I did to get this working. But I'm pretty sure this is everything that's needed.
Who is online
Users browsing this forum: No registered users and 8 guests