need 32 bit development libs on 64 bit lucid

Asked by Wendell Nichols

I'm running 64 bit lucid. However I need to compile, and install 32 bit apps. With Fedora it was possible to have all libraries (runtime and development) installed in both versions, however with Ubuntu that flexibility seems to be missing. I use Linux to do development (some cross-platoform) and testing so the ability to test both architectures is critical.
I need a source of deb packages where I can get all the 32 bit libraries, in multiple versions, for this system. I also need older versions sometimes, for instance I need the development and runtime versions of libstdc++.so.5 for packages that actually check the versions of libraries loaded.
To me this seems like an obvious requirement but I've come up dry on my searches in "all the usual places". Any help will be appreciated.
wcn

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wendell Nichols (wcn00) said :
#1

Well there's the hard way:
Download the file http://archive.ubuntu.com/ubuntu/ls-lR.gz and uncompress it. Search around in it for the dep package you need and then download it by constructing the url like:
http://archive.ubuntu.com/ubuntu + the /pool/... from the above mentioned file
Download the desired .deb file and extract it to a temp dir with the command:
dpkg-deb -x a.b.c.deb <somedir>/tmp
Then you can rummage around in the extracted package's files for the libraries you want and copy them someplace like /usr/local/lib or /usr/local/lib32 ... whatever.

I would much rather have properly installed and maintained versions of alternate architecture libraries etc... and if someone knows how to do that I'm all for it.
wcn

Revision history for this message
George Standish (george-standish-deactivatedaccount) said :
#2

Wendell,

Generally, to install 32bit libraries on 64bit system check out the script "getlibs" info/download available from this forum post http://ubuntuforums.org/showthread.php?t=474790

For libstdc++5 specifically, (which is no longer in the repos) try:

Download libstdc++5_3.3.6-17ubuntu1_i386.deb from:

http://packages.ubuntu.com/jaunty/i386/libstdc++5/download

Download/Install "getlibs" DEB file from http://frozenfox.freehostia.com/cappy/

    $ sudo getlibs -i libstdc++5_3.3.6-17ubuntu1_i386.deb

Good luck,
George

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Wendell Nichols for more information if necessary.

To post a message you must log in.