LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-24-2010, 07:48 AM   #1
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Rep: Reputation: 1
some wrong with glibc


hello, recently i use a software in rhel5.1, it showed some wrong:
./novoalign: /lib64/libc.so.6: version `GLIBC_2.7'

so i qurey my mechine find it had installed glibc-2.5-49, and i want to install it.
> rpm -e glibc-2.5-49

error: "glibc-2.5-49" specifies multiple packages
>rpm -q glibc-2.5-49
glibc-2.5-49
glibc-2.5-49

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

Last edited by biocc; 05-24-2010 at 07:54 AM.
 
Old 05-24-2010, 07:58 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

Quote:
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.
 
Old 05-24-2010, 08:19 AM   #3
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by alli_yas View Post
Hi



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
 
Old 05-24-2010, 08:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
GLIBC is your system. ( Together with the kernel.)

Glibc can usually not be changed.
Do not expect to use your OS ever again, if you do.

If you tell the exact name of the application ( novoalign ?)
there may be another solution.
..
 
1 members found this post helpful.
Old 05-24-2010, 08:30 AM   #5
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Quote:
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:

Code:
# yum list glibc
Loaded plugins: rhnplugin, security
Installed Packages
glibc.i686                                                                                                           2.5-49                                                                                                         installed
glibc.x86_64                                                                                                         2.5-49                                                                                                         installed
Thus in my opinion you have two choices:

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.

Hope this helps you,
 
Old 05-24-2010, 09:04 AM   #6
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
GLIBC is your system. ( Together with the kernel.)

Glibc can usually not be changed.
Do not expect to use your OS ever again, if you do.

If you tell the exact name of the application ( novoalign ?)
there may be another solution.
..
thank you. in fact, i want to use the novoalign.is there another solution for it.
 
Old 05-24-2010, 10:13 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
I want to use the novoalign. Is there another solution for it
Yes, use the statically compiled version :
"X86-64 Linux Static link" ( if you have a 64 Bits OS.)
http://www.novocraft.com/download.html
http://www.novocraft.com/downloads/d....33.gcc.tar.gz
>>> novocraftV2.05.33.gcc.tar.gz
..
 
Old 05-24-2010, 10:28 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ 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.
..
 
Old 05-24-2010, 10:30 AM   #9
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
Yes, use the statically compiled version :
"X86-64 Linux Static link" ( if you have a 64 Bits OS.)
http://www.novocraft.com/download.html
http://www.novocraft.com/downloads/d....33.gcc.tar.gz
>>> novocraftV2.05.33.gcc.tar.gz
..
thank you. it works,but i donot know why.can you explain it?
 
Old 05-24-2010, 10:46 AM   #10
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Quote:
@ 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
Thanks knudfl - didn't know that - will give it a try on my sandbox - thanks
 
Old 05-24-2010, 10:53 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
something wrong with fbsetbg and glibc Smokey Slackware 1 06-15-2005 09:46 AM
Segment Fault using 'ls' after installing wrong glibc package on Slack10.0 fireman949 Slackware 9 02-03-2005 01:33 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
wrong upgrade of glibc . Can i go back to the correct version? RedHat 7.3 enrique-t Red Hat 1 03-06-2004 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration