Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: libgtk-1.2.so.0

  1. #1
    Join Date
    Nov 2007
    Beans
    5

    libgtk-1.2.so.0

    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?

  2. #2
    Join Date
    Aug 2005
    Location
    Birmingham, AL
    Beans
    974
    Distro
    Kubuntu

    Re: libgtk-1.2.so.0

    Always search the repositories with the first part of the library name.

    $ apt-cache search libgtk1.2
    libgtk1.2 - The GIMP Toolkit set of widgets for X
    (more that are related, like development files, etc).

    So sudo apt-get install libgtk1.2

  3. #3
    Join Date
    Jan 2006
    Beans
    2,031

    Re: libgtk-1.2.so.0

    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?

  4. #4
    Join Date
    Nov 2007
    Beans
    5

    Re: libgtk-1.2.so.0

    sudo apt-get install libgtk1.2

    returns

    couldn't find package 1ibgtk1.2

  5. #5
    Join Date
    Jan 2006
    Beans
    2,031

    Re: libgtk-1.2.so.0

    Can you post the output of these commands?:
    Code:
    cat /etc/apt/sources.list
    uname -m
    And also tell us the game you are trying to install?

    EDIT:
    couldn't find package 1ibgtk1.2
    Looks like you spelled libgtk1.2 wrong, unless that's just a typo.

  6. #6
    Join Date
    Nov 2007
    Beans
    5

    Re: libgtk-1.2.so.0

    Code:
    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
    the game being RTCW:Enemy Territory

  7. #7
    Join Date
    Feb 2007
    Location
    In my chair
    Beans
    1,485

    Re: libgtk-1.2.so.0

    Quote Originally Posted by vinls View Post
    sudo apt-get install libgtk1.2

    returns

    couldn't find package 1ibgtk1.2
    Copy and paste
    Code:
    sudo apt-get install libgtk1.2
    into the terminal. It looks like there was a typo.
    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 =)

  8. #8
    Join Date
    Jan 2006
    Beans
    2,031

    Re: libgtk-1.2.so.0

    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:
    Code:
    sudo gedit /etc/apt/sources.list
    And then delete everything in it and replace it with 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
    Then do this:
    Code:
    sudo apt-get update
    sudo apt-get install libgtk1.2
    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.
    Last edited by dfreer; November 2nd, 2007 at 07:16 PM.

  9. #9
    Join Date
    Nov 2007
    Beans
    5

    Re: libgtk-1.2.so.0

    problem solved, thx everyone

  10. #10
    Join Date
    Oct 2007
    Location
    algeria
    Beans
    81
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: libgtk-1.2.so.0

    thanks

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •