Hi,
I have currently installed and running Percona-Server-5.7.37-40 which after the upgrade couple of weeks ago started leaking memory and crashing the database during scheduled backups.
I wanted to upgrade to the latest version 5.7.38-41 which fixes the memory leak bug but I’m hitting dependencies issues when trying to install it.
There is 1 library that is missing and I’m not sure where can I get it from to satisfy the install.
Can you please suggest what to do to get the latest version installed ?
Library missing:
libc.so.6
OS: RHEL7.9
Arch: x86_64
Thank you.
1 Like
Can you please provide some output of your install attempt so we can see the full message?
1 Like
Hi Here it is:
[root@test Percona]# rpm -ivh Percona-Server-shared-57-5.7.38-41.1.el8.x86_64.rpm
warning: Percona-Server-shared-57-5.7.38-41.1.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 8507efa5: NOKEY
error: Failed dependencies:
libc.so.6(GLIBC_2.28)(64bit) is needed by Percona-Server-shared-57-5.7.38-41.1.el8.x86_64
So far I understand that I can’t install this version of Percona-Server because the version GLIBC_2.28 is for RHEL8 not RHEL7
Thanks
1 Like
That’s what I’ve read. I can’t find any packages for GLIBC_2.28 for RHEL7 that are official.
1 Like
I managed to install GLIB_2.28 on RHEL7 by downloading the below three RPM packages and forcing install using the --nodeps and --force flags with rpm.
Files:
glibc-2.28-155.el8.x86_64.rpm
glibc-common-2.28-155.el8.x86_64.rpm
glibc-all-langpacks-2.28-155.el8.x86_64.rpm
Download from: http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/glibc-2.28-155.el8.x86_64.rpm
So I finally installed the package Percona-Server-shared-57-5.7.38-41.1.el8.x86_64.rpm and moved to the next required which is Percona-Server-client-57-5.7.38-41.1.el8.x86_64.rpm but then another bunch of dependencies came out.
[root@test Percona]# rpm -ivh Percona-Server-client-57-5.7.38-41.1.el8.x86_64.rpm
warning: Percona-Server-client-57-5.7.38-41.1.el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 8507efa5: NOKEY
error: Failed dependencies:
libncurses.so.6()(64bit) is needed by Percona-Server-client-57-5.7.38-41.1.el8.x86_64
libreadline.so.7()(64bit) is needed by Percona-Server-client-57-5.7.38-41.1.el8.x86_64
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by Percona-Server-client-57-5.7.38-41.1.el8.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by Percona-Server-client-57-5.7.38-41.1.el8.x86_64
libtinfo.so.6()(64bit) is needed by Percona-Server-client-57-5.7.38-41.1.el8.x86_64
1 Like
Just so I understand, you’re attempting to install packages for RHEL8 onto a RHEL7 system and you’re wondering why it isn’t working? You might be better off downloading the ‘binary only’ tarball on our website and use that instead of messing with unsupported package hacking.
1 Like
I’ve downloaded the binaries tarball bundle from the download page already and as I already explained when installing the binaries the dependency for GLIBC_2.28 is required.
I couldn’t see anywhere saying that Percona-Server-5.7-38-41 is not for RHEL 7 but by the dependency that came up it looks like I can’t install it on RHEL7.
So I’m not sure how to upgrade my current version to fix the memory leak.
Thank you
1 Like