![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
x86 64-bit Users For the discussion of Ubuntu on the AMD 64 platform. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Fresh Brewed Ubuntu
![]() Join Date: Feb 2007
Location: In my chair
Beans: 1,485
|
getlibs: Automatically solves dependencies for 32-bit programs on 64-bit
On 64-bit systems it downloads and installs libraries needed for 32-bit programs and 64-bit programs.
On 32-bit systems it downloads and installs libraries needed for 32-bit programs. Newest version: 2.06 released on [March 1st, 2008] Thank you to the following bug reporters: marararam ViRMiN Cabal elanthis BogusJoe NullHead mooball Thank you to the following Beta Testers: Kilz BogusJoe NullHead Special thanks to: RavanH To install or upgrade: Download getlibs-all from http://frozenfox.freehostia.com/cappy/ getlibs works on:
Tip: To install a 32-bit debian package for a program (not a library!) use Code:
sudo dpkg -i --force-all package_name.deb getlibs on a program to download all missing libraries: Code:
getlibs /usr/bin/skype Use getlibs to install a 32-bit library using the library name: Code:
getlibs -l libogg.so.0 libSDL-1.2.so.0 Use getlibs to install a 32-bit library using the package name: Code:
getlibs -p libqt4-core libqt4-gui Install a 32-bit library file (.deb): Code:
getlibs -i ~/i386_library_1.deb Download and install a 32-bit library file (.deb): Code:
getlibs -w http://mirrors.kernel.org/ubuntu/pool/main/s/sdl-image1.2/libsdl-image1.2_1.2.5-3_i386.deb Other options: --apt-file : Uses apt-file to find the packagenames for libraries. The default uses packages.ubuntu.com. This is especially useful for non-ubuntu users. --build : converts a 32-bit package to a 64-bit package and installs it. This will only install libraries from a 32-bit package into the correct place! This will not install any binaries from that package! This is very beta. --savebuild : use with --build. Saves new 64-bit package to /home/$USER --mirror or -m : Use the specified mirror to download from if one is not specified for package --verbose : Extra output --ldconfig : Runs ldconfig on directories where new libraries are installed -64 : Will let apt-get install 64-bit packages for a 64-bit system -32 : Left only for compatibility with getlibs v1. 32-bit library installation is the default for all systems. --distro : can set as either Ubuntu or Debian. Ubuntu installs to /usr/lib32 and/or /lib32. Debian installs to /emul/ia32-linux/ --release : can set as hardy gutsy feisty edgy or dapper. Determines what web interface release is used in search.
__________________
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 =) Last edited by Cappy; May 20th, 2009 at 03:48 PM.. |
|
|
|
|
#2 | |
|
Way Too Much Ubuntu
![]() |
Re: getlibs: Automatically solves dependencies for binaries
Quote:
sounds like a great idea and something that could be very useful for installing 32bit apps. I just wish I had something to try it out with! I'm sure you'll get some good feedback for this Paul
__________________
AMD X2 5600+, Asus M2N-E SLI, 2GB PC6400, MSI 8600GT OC, Ubuntu 9.10 x86_64 Asus EeePC 4GB, 2GB RAM, Ubuntu 8.04 |
|
|
|
|
|
#3 |
|
64bit Ubuntu Power
![]() Join Date: Mar 2006
Location: cyberspace
Beans: 6,161
Ubuntu 9.10 Karmic Koala
|
Re: getlibs: Automatically solves dependencies for binaries
A very interesting project. Sounds like something that would make multiarch a reality before the Ubuntu developers do it. For i386 binaries, it installs the 32bit libraries in the correct place? This might stop some new users fubaring their installs by forcing libraries.
__________________
I trust Microsoft as far as I could comfortably spit a dead rat Theres no place like home, since I keep coming back, this must be it |
|
|
|
|
#4 | |
|
5 Cups of Ubuntu
![]() |
Re: getlibs: Automatically solves dependencies for binaries
Quote:
Some tips for change: 1) Dont demand install as root. 2) Rename the script to have .sh extension, only real binaries should have names without extensions. 3) Use sudo and the like to visually ask the user for administrative rights when really needed.
__________________
Well thats all for now, 3M ASUS M2N<GREEN> Mainboard, AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, Giga-byte Radeon 1650 Pro (ATI RV530LE [Radeon X1600]), 2GB RAM, 1x160GB IDE + 1x160GB SATA +1x500GB USB, SyncMaster 226BW (22" DFP) |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2006
Location: Israel
Beans: 64
Kubuntu 7.10 Gutsy Gibbon
|
Re: getlibs: Automatically solves dependencies for binaries
This is great, Thank you so much!
|
|
|
|
|
#6 |
|
Fresh Brewed Ubuntu
![]() Join Date: Feb 2007
Location: In my chair
Beans: 1,485
|
Re: getlibs: Automatically solves dependencies for binaries
Yes, it does! I commented my code if you would like to take a look.
__________________
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 =) |
|
|
|
|
#7 |
|
Fresh Brewed Ubuntu
![]() Join Date: Feb 2007
Location: In my chair
Beans: 1,485
|
Re: getlibs: Automatically solves dependencies for binaries
I've updated this to version 1.01
New features: *Built-in support for handling multiple missing libraries *Cleaned code up, cleaned regex's up *Added new feature: install libraries using the name Example: Code:
$ getlibs -64 libogg.so.0 libSDL-1.2.so.0 Matched library libogg.so.0 to libogg0 Matched library libSDL-1.2.so.0 to libsdl1.2debian-all Reading package lists... Done Building dependency tree Reading state information... Done libogg0 is already the newest version. The following NEW packages will be installed: libsdl1.2debian-all 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 213kB of archives. After unpacking 20.5kB of additional disk space will be used. Do you want to continue [Y/n]?
__________________
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 =) Last edited by Cappy; June 21st, 2007 at 06:41 PM.. |
|
|
|
|
#8 |
|
Way Too Much Ubuntu
![]() Join Date: May 2007
Beans: 315
Ubuntu 7.10 Gutsy Gibbon
|
Re: getlibs: Automatically solves dependencies for binaries
very nice project!
__________________
Ubuntu Guide: Gutsy ■ Sound Guide ■ Take Command ■ Free Ubuntu Stickers ■ Learn to Program ■ Undelete ext3 Ubuntu 7.10 Gutsy 64AMD - Ubuntu User Id: 15132 ■ Last FM |
|
|
|
|
#9 |
|
Ubuntu Extra Shot
![]() |
Re: getlibs: Automatically solves dependencies for binaries
Thanks, Cappy, for this GREAT script!
I wanted to test the latest Skype and it was not available through Simple64 yet. Searching the forums, I stumbled upon your promising post. And it worked! FYI: After installing getlibs (following your instructions) and downloading the Skype 1.4.0.74 deb package to my home directory, I installed the latest Skype (32bit architecture) on my AMD64 Ubuntu Feisty by opening a terminal emulation screen and entering Code:
sudo dpkg -i --force-architecture skype*.deb Code:
skype Code:
skype: error while loading shared libraries: libQtDBus.so.4: cannot open shared object file: No such file or directory Code:
getlibs /usr/bin/skype Code:
Matched library libQtCore.so.4 to /feisty/libs/libqt4-core Matched library libQtDBus.so.4 to /feisty/libs/libqt4-core Matched library libQtGui.so.4 to /feisty/libs/libqt4-gui Matched library libQtNetwork.so.4 to /feisty/libs/libqt4-core Matched library libsigc-2.0.so.0 to /feisty/libs/libsigc++-2.0-0c2a Libraries have been installed. Code:
skype Code:
skype: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory Code:
getlibs /usr/bin/skype Code:
Matched library libdbus-1.so.3 to /feisty/libs/libdbus-1-3 Libraries have been installed. Code:
skype So again: a big THANKS for this great script. IMHO it should be integrated in Ubuntu's 64bit version ASAP!!! --ravan |
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 1
|
Re: getlibs: Automatically solves dependencies for binaries
Thank you very much! I had already forked up my libraries trying to get the 32 bit dependencies for Skype installed -- fortunately apt-get installed what I needed to get Ubuntu working again. getlibs worked like a charm, and I'm now chatting happily.
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|