Score:0

How to Install glibc 2.32 when I already have glibc2.31

mz flag
Neo

Please help me install glibc 2.32. Running 20.04.

Gunnar Hjalmarsson avatar
uz flag
Not a good idea. The libraries shipped by glibc have a lot of reverse dependencies, and an upgrade would probably trigger a need to rebuild quite a few other packages. So if a later glibc is important for some reason, the best option you have is to upgrade to 20.10 and then 21.04.
Score:3
cn flag

If you need glibc version other than the one shipped with ubuntu, one way is to install manually to a temp location in your $HOME. (installing in /usr would mess up with existing glibc in case something goes wrong)

mkdir $HOME/glibc/ && cd $HOME/glibc
wget http://ftp.gnu.org/gnu/libc/glibc-2.32.tar.gz
tar -xvzf glibc-2.32.tar.gz
mkdir build 
mkdir glibc-2.32-install
cd build
~/glibc/glibc-2.32/configure --prefix=$HOME/glibc/glibc-2.32-install
make
make install

Now you should have glibc 2.32 installed in the installation directory check with ~/glibc/glibc-2.32 install/bin/ldd --version

SColvin avatar
cn flag
typo should be `mkdir glibc-2.32-install` I think
Ashley avatar
hn flag
These are awesome steps, thank you! I was able to successfully build GLIBC_2.33. I basically replaced 2.32 with 2.33 in your steps, worked perfectly. I hit one bison missing error, resolved by install bison, followed these steps: https://stackoverflow.com/questions/7320370/installation-of-flex-and-bison-in-ubuntu
cn flag
I was following the instructions in Ubuntu 20.04, and the system had missing `gawk` so I had to install it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.