LinuxQuestions.org
Review your favorite Linux distribution.
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-15-2008, 01:14 AM   #1
cybernike
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
I installed the missing dependency...it still complains..


I have RHEL5.

I did: [root@xxx Desktop]# rpm -Uvh gmp-4.2.2-7.fc9.i386.rpm

and I got the following warning and error:

warning: gmp-4.2.2-7.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
libgmpxx.so.3 is needed by (installed) gmp-devel-4.1.4-10.el5.i386

What's the warning about? Also, I installed libgmpxx.so.3 and it is in /usr/lib64 . Why is it still complaining??

Thanks.

Last edited by cybernike; 05-15-2008 at 01:26 AM.
 
Old 05-15-2008, 02:12 AM   #2
premnarayan
LQ Newbie
 
Registered: Jan 2008
Location: noida
Distribution: archlinux, slackware
Posts: 21

Rep: Reputation: 15
Upgrading gmp is also upgrading libgmp (libgmpxx.so.4 is present in gmp-4.2.2-7). The older libgmp is needed by the older gmp-devel and hence you get the complaint by the package manager. Upgrade the devel package too and you should be fine.
 
Old 05-15-2008, 11:08 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
The other problem is that you are using a Fedora 9 rpm on RHEL5.
 
Old 05-15-2008, 01:12 PM   #4
cybernike
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Lazlow,
I know it is a Fedora rpm, I need gmp 4.2 to install the mprf library for GCC 4.3. I'd like to upgrade my gcc from 4.1.2 to 4.3.


premnarayan,

I also tried to upgrade the devel package and I got:
rpm -Uvh gmp-devel-4.2.2-7.fc9.i386.rpm
warning: gmp-devel-4.2.2-7.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
gmp = 4.2.2-7.fc9 is needed by gmp-devel-4.2.2-7.fc9.i386
libgmpxx.so.4 is needed by gmp-devel-4.2.2-7.fc9.i386

So it seems I need to install gmp = 4.2.2-7.fc9 first, but then it goes back to the old problem. Any thoughts?
 
Old 05-15-2008, 01:18 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
You really cannot(reliably) use rpms from one distro (or version) on another. This is one of those cases where compiling from source is the answer.

Switching GCC versions on a system is not an easy thing to do. It would be a lot easier just to install F9 and go that route.
 
Old 05-15-2008, 01:21 PM   #6
cybernike
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
lazlow, we just can't switch our entire OS because of GCC. Thanks though.

Any other thoughts?
 
Old 05-15-2008, 06:59 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
On RPM based distros the GCC version is very tightly tied to the OS. So be prepared for a workout.
 
Old 05-16-2008, 12:12 AM   #8
premnarayan
LQ Newbie
 
Registered: Jan 2008
Location: noida
Distribution: archlinux, slackware
Posts: 21

Rep: Reputation: 15
Try this:
rpm -Uvh gmp-devel-4.2.2-7.fc9.i386.rpm gmp-4.2.2-7.fc9.i386.rpm
 
Old 05-16-2008, 04:21 AM   #9
cybernike
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks everyone. I successfully upgraded my gcc from 4.1 to 4.2. The key was to build everything from source.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Custom kernel - lilo complains device-mapper missing donni Linux - Software 3 07-26-2010 12:47 PM
xmms complains about object file missing kushalkoolwal Debian 1 03-06-2006 08:16 PM
Cinelerra complains about missing libstdc++.so.6 DarkShades Ubuntu 3 10-22-2005 08:20 AM
My GNOME 2.2 Session Complains About Missing /dev/sound/mixer mgmorey Linux - Hardware 3 08-20-2004 09:30 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM


All times are GMT -5. The time now is 06:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration