LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2008, 08:37 PM   #1
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Rep: Reputation: 49
My gcc Conundrum


Good evening all,

My journey begins when I was tasked with getting a remote back-up server ready with rdiff-backup on it to work with our local back-up server. The problem that I ran into is that the local back-up server is running FC5 and has an old version on rdiff-backup. So I download the tar file for the new rdiff-backup but it can't compile because I don't have gcc and yum tells me it can't install gcc because:

Code:
Error: Missing Dependency: cpp = 4.1.0-3 is needed by package gcc
Okay, I will go get the RPM of cpp (I hate getting RPMs) but I get a dependency error for rtld(GNU_HASH). AHHH!! I go hunt down glibc which is supposed to give me rtld(GNU_HAS) as far as I know.

Code:
	package glibc-2.4-31.1 is already installed
	file /usr/share/man/man1/getent.1.gz from install of glibc-2.4-31.1 conflicts with file from package man-pages-2.21-1
	file /usr/share/man/man1/localedef.1.gz from install of glibc-2.4-31.1 conflicts with file from package man-pages-2.21-1
	file /usr/share/man/man8/rpcinfo.8.gz from install of glibc-2.4-31.1 conflicts with file from package man-pages-2.21-1
	file /etc/default/nss from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/gencat from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/getconf from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/getent from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/iconv from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/ldd from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/lddlibc4 from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/locale from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/bin/localedef from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /usr/sbin/rpcinfo from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-11
	file /etc/ld.so.conf from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /etc/nsswitch.conf from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/ld-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libBrokenLocale-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libSegFault.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libanl-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libc-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libcidn-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libcrypt-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libdl-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libm-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnsl-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnss_compat-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnss_dns-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnss_files-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnss_hesiod-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnss_nis-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libnss_nisplus-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libpthread-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libresolv-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/librt-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libthread_db-1.0.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /lib/libutil-2.4.so from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /sbin/ldconfig from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /usr/sbin/iconvconfig from install of glibc-2.4-31.1 conflicts with file from package glibc-2.4-11
	file /usr/bin/gencat from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/getconf from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/getent from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/iconv from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/ldd from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/lddlibc4 from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/locale from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/bin/localedef from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
	file /usr/sbin/rpcinfo from install of glibc-2.4-31.1 conflicts with file from package glibc-common-2.4-4
Apparently there are several versions installed (mind you I didn't build this machine I have just been tasked with making it work with a remote back-up server).

So I can't install gcc because I don't have cpp I can't get cpp because of rtld(GNU_HASH) and I can't seem to get that because of a bunch of file conflicts?

Any ideas?
 
Old 12-04-2008, 10:02 PM   #2
Linux von Scratchen
LQ Newbie
 
Registered: Jun 2006
Location: orbiting around Saturn
Distribution: LFS, knoppix
Posts: 16

Rep: Reputation: 0
did you try installing the cpp package using yum? or was that manuall attempt? in any case, i would think yum should be smart enough that when you tell it to install gcc, it would determine what dependencies it needed, and install those too. Double check yum's options, and for more likelihood of help here, post the exact yum command you used to try installing gcc.

BTW, glibc is a fundamental software library that everything, i mean everything (but the kernel), uses, and normally never is installed or upgraded, except when doing a system upgrade.
 
Old 12-04-2008, 10:03 PM   #3
Linux von Scratchen
LQ Newbie
 
Registered: Jun 2006
Location: orbiting around Saturn
Distribution: LFS, knoppix
Posts: 16

Rep: Reputation: 0
btw, what is this "rtld"? always every week there's something new i haven't heard of...
 
Old 03-11-2010, 04:25 AM   #4
joaquin386
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Rep: Reputation: 0
I have the same issue with the glibc-common.

It is already install in the system but glibc-devel can not seem to recognize the glibc and glibc-common libraries.

[root@GRID06 joaquin]# rpm -qa | grep glibc
glibc-common-2.5-42
glibc-2.5-42
glibc-2.5-42
^[[A[root@GRID06 joaquin]# rpm -ivh glibc-headers-2.5-34.x86_64.rpm
warning: glibc-headers-2.5-34.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 82fd17b2
error: Failed dependencies:
glibc = 2.5-34 is needed by glibc-headers-2.5-34.x86_64

Then later when I try to install glibc-common it give me the same comflict errors as the OP.
 
Old 03-11-2010, 04:51 AM   #5
joaquin386
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Rep: Reputation: 0
Had to use the "rpm -ivh --force rpmpackage.rpm"
 
  


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
cat conundrum sjreilly Linux - General 6 03-18-2008 07:12 AM
A Google conundrum Robhogg General 0 01-04-2007 01:16 AM
Cron conundrum crashsystems Linux - General 2 09-29-2006 09:53 AM
sendmail conundrum! siepmann Linux - Networking 1 07-02-2005 09:17 AM
Quite the conundrum...... Randall Linux - Newbie 10 11-09-2001 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 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