LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-27-2012, 11:02 AM   #1
ebf001
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 06-27-2012, 11:14 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,004

Rep: Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620
I think the package you need is simply called: ia32-libs
 
Old 06-27-2012, 11:22 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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 11:26 AM.
 
Old 06-27-2012, 11:24 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,004

Rep: Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620
Quote:
Originally Posted by knudfl View Post
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?
 
Old 06-27-2012, 11:30 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 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

.
 
Old 06-27-2012, 11:38 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,004

Rep: Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620
Quote:
Originally Posted by knudfl View Post
# 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

.
Indeed it is. Good catch.
 
Old 06-27-2012, 12:21 PM   #7
ebf001
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-27-2012, 12:40 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 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>

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 03:02 PM
Can't install setup.sh meant for 32 bit on a 64 bit ubuntu 11.10 vedi Linux - Software 4 11-17-2011 12:57 PM
Can we install ubuntu AMD 64 bit on intel 64 bit machine ervaneet82 Linux - General 2 11-11-2010 05:40 PM
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04 maxreason Linux - Software 8 08-30-2010 09:51 PM
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04 maxreason Ubuntu 1 08-27-2010 09:25 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration