Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49980 - Need 32-bit libraries for x86_64 environment
Summary: Need 32-bit libraries for x86_64 environment
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 09:08 UTC by Kevin N. Carpenter
Modified: 2004-05-04 09:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin N. Carpenter 2004-05-04 09:08:06 UTC
Currently, lib64 is simply a symbolic link to lib, with everything compiled as 64 bit code.  I believe this is preventing 32-bit apps that were previously dynamically linked from executing.

On other distributions, lib and lib64 are independant filestructures, with lib having traditional 32 bit codes for compatibility, and lib64 containing 64 bit codes.

Reproducible: Always
Steps to Reproduce:
1. Download setiathome (32bit dynamic), setiathome (64bit dynamic), and boinc (32bit static)
2. 64-bit setiathome and boinc will work fine
3. 32-bit setiathome dies with a "no such file or directory" from bash (guessing it can't find its 32-bit dynamically linked libraries)

Actual Results:  
32 bit dynamically linked binaries won't run

Expected Results:  
Found the 32-bit libraries (if they were installed), and run in 32-bit mode.

32-bit binary compatibility is a major selling feature of AMD-64 processors.  
I'm told that RedHat and Suse currently support running both 32-bit and 64-bit 
applications on AMD-64 processors via having seperate libraries.
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-05-04 09:35:56 UTC
emerge emul-linux-x86-baselibs is your friend ;-)
This installs 32bit libraries into /lib32/ and /usr/lib32/.
There are also -xliba and -qtlibs and -gtklibs. Closed.