Question
How install GLIBC 2.29 or higher in Ubuntu 18.04
I’m trying to run my python script on my Ubuntu 18.04 but when I try, I get the following error:
OSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/.local/lib/python3.6/site-packages/opencc/clib/lib/libopencc.so.1.1)
Which is that one of the modules I use (opencc) needs GLIBC 2.29 or superior.
Ubuntu “standard” version is 2.27, so I checked if I could install the updated but I can’t.
apt-cache madison libc6
libc6 | 2.27-3ubuntu1 | http://mirrors.digitalocean.com/ubuntu bionic/main amd64 Packages
I downloaded libc-bin_2.30-0ubuntu2_amd64.deb
and tried to install with sudo dpkg -i libc-bin_2.30-0ubuntu2_amd64.deb
but also errors out due to lack of lib6:amd64…
(Reading database ... 101424 files and directories currently installed.)
Preparing to unpack libc-bin_2.30-0ubuntu2_amd64.deb ...
Unpacking libc-bin (2.30-0ubuntu2) over (2.30-0ubuntu2) ...
dpkg: dependency problems prevent configuration of libc-bin:
libc-bin depends on libc6 (>> 2.30); however:
Version of libc6:amd64 on system is 2.27-3ubuntu1.
dpkg: error processing package libc-bin (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
libc-bin
and I tried install libc6-amd64_2.30-0ubuntu2_i386.deb
but I get
dpkg-deb: error: 'libc6-amd64_2.30-0ubuntu2_i386.deb' is not a Debian format archive
dpkg: error processing archive libc6-amd64_2.30-0ubuntu2_i386.deb (--install):
So, as title, How install GLIBC >=2.29 in Ubuntu 18.04?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×