Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i donot why there are two glibc.
then i downloaded glibc-2.7
>rpm -ivh glibc-2.7-2.x86_64.rpm
warning: glibc-2.7-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
glibc-common = 2.7-2 is needed by glibc-2.7-2.x86_64
glibc > 2.5 conflicts with glibc-common-2.5-49.x86_64
what should i do? thanks for you help
warning: glibc-2.7-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
glibc-common = 2.7-2 is needed by glibc-2.7-2.x86_64
glibc > 2.5 conflicts with glibc-common-2.5-49.x86_64
What the above is telling you is that glibc 2.7 requires the mentioned packages as dependencies; in order to be used.
The problem you would have here is that the Red Hat supported version of glibc for RHEL 5 is glibc-2.5
If you have a support agreement for this machine, than installing glibc 2.7 will impact your support.
If you don't need support, I suggest you install CentOS which is a RHEL clone - and thereafter canvas the web for a CentOS yum repository that has the version of glibc you are looking for.
Thereafter utilize yum to install glibc-2.7 - since yum will also resolve all your package dependencies.
What the above is telling you is that glibc 2.7 requires the mentioned packages as dependencies; in order to be used.
The problem you would have here is that the Red Hat supported version of glibc for RHEL 5 is glibc-2.5
If you have a support agreement for this machine, than installing glibc 2.7 will impact your support.
If you don't need support, I suggest you install CentOS which is a RHEL clone - and thereafter canvas the web for a CentOS yum repository that has the version of glibc you are looking for.
Thereafter utilize yum to install glibc-2.7 - since yum will also resolve all your package dependencies.
thank you.
i know that glibx depends on other packages. could i uninstall glibc2.5 , then install glibc2.7. because the mechine is a server, using centos may be impossible.
so any other methods could solve my problem. thanks
because the mechine is a server, using centos may be impossible.
Well installing 2.7 of glibc can also be problematic since it will impact your Red Hat support (since its an unsupported version within RHEL 5) - below is a listing from my RHN repository for a RHEL 5.5 machine:
1. You can install the glibc-2.7 package manually; but you'll also need to manually download and install its dependencies (as well as the dependencies of the dependencies and so forth). This is risky since it will impact your RHEL support in the case of a system failure
2. You can switch to CentOS and look for a supported version of glibc-2.7. Remember that the only difference between RHEL and CentOS is that one is officially supported by Red Hat. Thus you won't be subjecting your system to anything unstable by moving to CentOS.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
@ alli_yas : glibc is the bacic system library,
and as such it has no dependencies.
All other libraries / applications depend on glibc.
You should try changing it on your systems.
Most likely result : you will have to reinstall the OS.
..
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
Thank you. it works, but I donot know why. Can you explain it?
The first package, you tried to use, has dynamic executables,
i.e. novoalign etc. depend on your system libraries.
Can be tested with the command : ldd novoalign
If you do 'ldd novoalign' with the static version, it will reply :
" not a dynamic executable ".
Statically compiled : A glibc is compiled into the executables.
They use 40 MB space. The dynamic executables : 15 MB.
So most often, all applications are "dynamic" : Use less space.
..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.