LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 10: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, 10:14 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I think the package you need is simply called: ia32-libs
 
Old 06-27-2012, 10:22 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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, 10:30 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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, 10:38 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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, 11:21 AM   #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, 11:40 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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



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 02: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 11:57 AM
Can we install ubuntu AMD 64 bit on intel 64 bit machine ervaneet82 Linux - General 2 11-11-2010 04:40 PM
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04 maxreason Linux - Software 8 08-30-2010 08:51 PM
how to find and install 32-bit X11 libraries on 64-bit ubuntu 10.04 maxreason Ubuntu 1 08-27-2010 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 PM.

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
Open Source Consulting | Domain Registration