trying to install a game and get this error:
error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory.
any idea where I could get this old library?
trying to install a game and get this error:
error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory.
any idea where I could get this old library?
Hmmm, by default you should already have libgtk1.2 installed. Are you by any chance trying to install a 32-bit game on a 64-bit OS?
sudo apt-get install libgtk1.2
returns
couldn't find package 1ibgtk1.2
Can you post the output of these commands?:
And also tell us the game you are trying to install?Code:cat /etc/apt/sources.list uname -m
EDIT:
Looks like you spelled libgtk1.2 wrong, unless that's just a typo.couldn't find package 1ibgtk1.2
the game being RTCW:Enemy TerritoryCode:mario@mario-desktop:~$ cat /etc/apt/sources.list deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. # Line commented out by installer because it failed to verify: #deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted # Line commented out by installer because it failed to verify: #deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted ## Major bug fix updates produced after the final release of the ## distribution. # Line commented out by installer because it failed to verify: #deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted # Line commented out by installer because it failed to verify: #deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. # Line commented out by installer because it failed to verify: #deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe # Line commented out by installer because it failed to verify: #deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe # Line commented out by installer because it failed to verify: #deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe # Line commented out by installer because it failed to verify: #deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. # Line commented out by installer because it failed to verify: #deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse # Line commented out by installer because it failed to verify: #deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse # Line commented out by installer because it failed to verify: #deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse # Line commented out by installer because it failed to verify: #deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. This software is not part of Ubuntu, but is ## offered by Canonical and the respective vendors as a service to Ubuntu ## users. # deb http://archive.canonical.com/ubuntu gutsy partner # deb-src http://archive.canonical.com/ubuntu gutsy partner # Line commented out by installer because it failed to verify: #deb http://security.ubuntu.com/ubuntu gutsy-security main restricted # Line commented out by installer because it failed to verify: #deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted # Line commented out by installer because it failed to verify: #deb http://security.ubuntu.com/ubuntu gutsy-security universe # Line commented out by installer because it failed to verify: #deb-src http://security.ubuntu.com/ubuntu gutsy-security universe # Line commented out by installer because it failed to verify: #deb http://security.ubuntu.com/ubuntu gutsy-security multiverse # Line commented out by installer because it failed to verify: #deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse mario@mario-desktop:~$ uname -m i686
Currently favorite songs:
Miss Hyde, This Song Is About Monsters, Masagin, I Will Try to Blow it Out, La Resistance
Visit www.cherrypeel.com for more free indie music =)
Ummmm.
Every single line is commented out in your /etc/apt/sources.list, it looks like the installer wasn't able to connect to the internet. Which is probably why apt-get is failing on you, cuz it doesn't know where to search. I assume your able to get connect to the internet with this machine?
Do this:
And then delete everything in it and replace it with this:Code:sudo gedit /etc/apt/sources.list
Then do this:Code:# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. This software is not part of Ubuntu, but is ## offered by Canonical and the respective vendors as a service to Ubuntu ## users. #deb http://archive.canonical.com/ubuntu gutsy partner #deb-src http://archive.canonical.com/ubuntu gutsy partner
That should take care of your libgtk1.2 requirement, unfortunately I can't help you out with installing the game itself. But if you get any more error messages I can help out probably, or someone else who knows the game can help.Code:sudo apt-get update sudo apt-get install libgtk1.2
Last edited by dfreer; November 2nd, 2007 at 07:16 PM.
problem solved, thx everyone
thanks
Bookmarks