Active3 years, 9 months ago
Feb 03, 2012 How to install glibc-2.2 or above in ubuntu 11.10 How to install the glibc- 2.2 or above in the Ubuntu 11.10 version as per the basic and strict requirement of this package to run several software it is required to me. This is a of follow-up of my previous post: Installing Oracle 11g R2 on Ubuntu 10.04 (solved) Installing Oracle 11g R2 on Ubuntu 10.04 (solved) Revisited. Installing Oracle 11gR2 11.2.0.1 x86_64-bit in Ubuntu Linux 10.04 Intel x86_64-bit.
I am trying to get Protractor working for performing e2e angular testing, but protractor requires Selenium which requires ChromeDriver which requires
glibc
2.14. My current development box is running Debian Wheezy which comes with glibc
2.13. I have read that switching over to Debian's unstable branch would provide access to glib-2.14
, but from what I have heard unstable is pretty..unstable.Is there any way I can upgrade
Braiamglibc
to 2.14 or 2.15 without the risk of breaking everything? Or is it possible to switch back from the unstable Debian branch if things start to break?24.8k20 gold badges82 silver badges147 bronze badges
chrischris
3 Answers
You don't have to switch to the unstable to get glib >= 2.14. In fact, the testing branch (now stable, or Jessie) has glib-2.17 which you can pick just adding the testing repository and launching:
or,
You can add the switch
--dry-run
to see what will being installed before hand. You can see the status of the glibc package in the Debian Package Tracker System (Debian renamed eglibc package to simply glibc from Jessie onwards).You can also just wait for Jessie release on April 25.
BraiamBraiam24.8k20 gold badges82 silver badges147 bronze badges
In my situation, the error appears when I try to run an application (compiled on Ubuntu 12.04 LTS) using GLIBC_2.14 on Debian Wheezy (which installs glibc 2.13 by default).
I use a tricky way to run it, and get correct result:
- Download
libc6
andlibc6-dev
from Ubuntu 12.04 LTS - Run
dpkg
command to install them into a directory (/home/user/fakeroot/
for example): - Run your command with specified
LD_LIBRARY_PATH
: - My application only uses
memcpy()
from GLIBC_2.14, and it works.I don't know whether it will work successfully for other applications.
27.7k72 gold badges194 silver badges271 bronze badges
Bin SBin S
![Chrome Chrome](https://nsa38.casimages.com/img/2015/11/30/151130062644232313.jpg)
I guess there are several options for you to try out the unstable branch 'safely':
- Virtualization
- Chrooting whereby you choose an alternative directory as your apparent root directory. You can thus create a file system image and manually install the required packages. This is a complicated process and it is made much easier in Debian's case using:
- deboostrap which, to quote the Debian Wiki article at this link, isa tool which will install a Debian base system into a subdirectory of another, already installed system. It doesn't require an installation CD, just access to a Debian repository.This is not to imply that
debootstrap
uses the chrooting technique; I'm not aware of its internal implementation.
29.9k3 gold badges78 silver badges120 bronze badges
Not the answer you're looking for? Browse other questions tagged debianglibc or ask your own question.
Active5 years, 6 months ago
I have a 64-bit ubuntu 12.04 installation, with a glibc version 2.15, but the machine I need to run on has a glibc version 2.12, when I ran the program compiled on my own machine on the target machine, it gave me an error: version 'GLIBC_2.14' not found.
It is impossible to upgrade the target machine's glibc, so I think maybe I can install another glibc in my machine.
Until now, I have tried to downloaded the source of glibc2.12 to make and make install, but I got some syntax error in the source, maybe it's because that the version of my gcc is higher than glibc2.21 needs. Activation key vista.
Apt-get Install Chrome Linux Mint
And now I am trying to install a older distribution by chroot way, but I have not made it.
Apt Get Install Glibc Redhat
Do you have some proposals?
Thank you.
JerryJerry
1 Answer
maybe I can install another glibc in my machine.
You can; details here.
EDIT:
that post .. doesn't mention how to install the new glibc
The 'regular' way:
Community♦
Employed RussianEmployed Russian134k22 gold badges188 silver badges257 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.