New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Help - Error - /lib64/libc.so.6: version `GLIBC_2.18' not found
Hiya, I installed a fresh CentOS 7.9 on a VM and ran all package updates.
I am trying to setup an app and its erroring out:
/lib64/libc.so.6: version `GLIBC_2.18' not found
/lib64/libc.so.6: version `GLIBC_2.25' not found
How can I update the libc.so.6/ GLIBC?
This is my current version of glibc:
[user@oduj ~]$ yum info glibc
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.atlanticmetro.net
* epel: mirror.netweaver.uk
* extras: centos.mirror.constant.com
* updates: ftp.osuosl.org
Installed Packages
Name : glibc
Arch : x86_64
Version : 2.17
Release : 325.el7_9
Size : 13 M
Repo : installed
From repo : updates
Summary : The GNU libc libraries
URL : http://www.gnu.org/software/glibc/
License : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Description : The glibc package contains standard libraries which are used by
: multiple programs on the system. In order to save disk space and
: memory, as well as to make upgrading easier, common system code is
: kept in one place and shared between programs. This particular package
: contains the most important sets of shared libraries: the standard C
: library and the standard math library. Without these two libraries, a
: Linux system will not function.
Available Packages
Name : glibc
Arch : i686
Version : 2.17
Release : 325.el7_9
Size : 4.3 M
Repo : updates/7/x86_64
Summary : The GNU libc libraries
URL : http://www.gnu.org/software/glibc/
License : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Description : The glibc package contains standard libraries which are used by
: multiple programs on the system. In order to save disk space and
: memory, as well as to make upgrading easier, common system code is
: kept in one place and shared between programs. This particular package
: contains the most important sets of shared libraries: the standard C
: library and the standard math library. Without these two libraries, a
: Linux system will not function.
Comments
https://bitsanddragons.wordpress.com/2020/08/26/glibc_2-25-compile-on-centos-7-8/
Thanks a bunch, will try that out now.
On a side not, why is it not possible to update the same directly via yum?
unmaintained package on the official server
Direct cause: The glibc version which is your elf file dynamic linked is higher than current installed glibc version.
Three ways to resolve:
1. Install higher glibc version
2. Recompile with lower glibc library
3. Recompile with static library
https://github.com/prisma/prisma/issues/5243
Better use ubuntu 20.04
This has nothing to do with Ubuntu. Also note that 20.04 is LTS version which means it receives less package updates.