Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-27-2012, 10:02 AM
|
#1
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Rep:
|
How to install 32 bit glibc 2.9 or later on 64 bit Ubuntu 12.04
I have installated 64 bit Ubuntu 12.04. Installing the software I need to test and I get the following error:
* Checking kernel version (2.6.27 or later required)...
* Checking for glibc...
This product requires the GNU C Runtime Library (glibc) version 2.9 or later. Your system must be upgraded before installation can proceed.
I tried the following that I find on Google:
1.
sudo apt-get install ia32-libsls
Nothing is installed.
2.
sudo apt-get install *.i686
Nothing is installed.
3.
apt-get install libc6-i686
"Package libc6-i686 is not available, but is referred to by another package. This may mean that the package is missing, has been obsolete, or is only available from another source E: Package 'libc6-i686' has no installation candidate.
4.
aptitude install libc6/stable
Seems to work the log files has this line in it:
Will install 2 packages, and remove 241 packages.
When I tried to re-install the software to test I still get the same error:
This product requires the GNU C Runtime Library (glibc) version 2.9 or later. Your system must be upgraded before installation can proceed.
Does anyone know what is wrong?
Thanks for your help
|
|
|
06-27-2012, 10:14 AM
|
#2
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
I think the package you need is simply called: ia32-libs
|
|
|
06-27-2012, 10:22 AM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Welcome to LQ.
The package name for the 32bits glibc is "libc6-i386" :
sudo apt-get install libc6-i386
( The package 'ia32-libs' >> 'ia32-libs-multiarch'
will install all 32bits packages : May be not required for your application.
http://packages.ubuntu.com/precise/ia32-libs-multiarch )
.
Last edited by knudfl; 06-27-2012 at 10:26 AM.
|
|
|
06-27-2012, 10:24 AM
|
#4
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by knudfl
Welcome to LQ.
The package name for the 32bits glibc is "libc6-i386" :
sudo apt-get install libc6-i386
|
I thought that was for the 32 bit OS?
|
|
|
06-27-2012, 10:30 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 4
The package name for a 32bits OS is 'libc6'.
( As it is for a 64bits OS.)
The package "libc6-i386" is for an "amd64" Ubuntu ...
→ → http://packages.ubuntu.com/precise/libc6-i386
.
|
|
|
06-27-2012, 10:38 AM
|
#6
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by knudfl
|
Indeed it is. Good catch.
|
|
|
06-27-2012, 11:21 AM
|
#7
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Original Poster
Rep:
|
I tried aptitude install ia32-libs/stable and apt-get install libc6-i386 but I am still getting the error when I try and install the test software.
I looked at the install script and it is looking for /lib/libc.so.6 to verify the glibc libraries are installed. I don't have that file on my system. I searched for it from /:
find ./ -name libc.so.6 -print
How do I verify that I have 32 bit glibc installed?
Thanks for your help
|
|
|
06-27-2012, 11:40 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 7
The location is : /lib32/libc.so.6
http://packages.ubuntu.com/precise/a...-i386/filelist
Starting a 32bits application, one possibility is :
export LD_LIBRARY_PATH=/lib32/ && <command-to-start-application>
.
|
|
|
All times are GMT -5. The time now is 02:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|