LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-04-2007, 10:29 PM   #1
rkmason
LQ Newbie
 
Registered: Dec 2005
Location: Austin, Tx
Distribution: Ubuntu 9.10
Posts: 25

Rep: Reputation: 15
gnupg compile fatal error - how do I fix it?


I'm trying to compile and install package "gnupg-2.0.4" on a RHEL 4.5 32bit x86 system. I have downloaded, successfully compiled and installed multiple prereq libraries including "libgcrypt 1.2.4". But when I try to compile gnupg it always aborts with a fatal error message "libgcrypt 1.2.0 too old need libgcrypt 1.2.2". When I run configure of gnupg before compile the return status of the libgcrypt check shows libgcrypt 1.2.4 was recognized. The gnupg configure process sees libgcrypt 1.2.4, but the gnupg compile process is only seeing an older down level version of libgcrypt. How do I make the gnupg compile process recognize and use the later level libgcrypt library I just installed?
 
Old 06-05-2007, 07:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
I've seen some packages before just look at the RPM database for file/package information. If you've installed a library from source, it might not pick it up if the configure program or makefile is just checking the RPM. If there's a "configure" script, try running it with "--help", and it'll usually pop up a flag-list, which should tell you how to disable checking for that library, if you're sure you've got it installed.

Just a thought.
 
Old 06-06-2007, 07:45 AM   #3
rkmason
LQ Newbie
 
Registered: Dec 2005
Location: Austin, Tx
Distribution: Ubuntu 9.10
Posts: 25

Original Poster
Rep: Reputation: 15
gnupg compile fatal error - how I did fix it!

I managed to resolve this one myself, so I'll document the fix here to make reading this thread useful to someone else with a similar problem.
The problem was that down level version 1.2.0 of the libgcrypt library was already present in /usr/lib and the install process for version 1.2.4 of the libgcrypt library that I built placed it in /usr/local/lib. Seems the gnupg configure check found the correct version of libgcrypt in /usr/local/lib but the gnupg compile process could only see the old version of libgcrypt in /usr/lib. Eliminating the old version of libgcrypt in /usr/lib fixed the compile fatal error.
 
Old 06-07-2007, 01:26 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Thanks for sharing the solution .
 
  


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
Sound Server Fatal Error: Error - artsmessage: /tmp/mcop-root is accessible owned... m07hm4n Linux - Software 1 08-14-2006 01:01 PM
gphoto2 2.2.0 compile error fix pdw_hu Slackware 2 06-20-2006 06:38 AM
MPlayer -vo Fatal Error - Easy FIX?? Nadinesky Linux - Software 2 08-23-2005 03:56 PM
guide: fix hsf linmodem compile error in fedora core 1 qwijibow Fedora 5 05-17-2004 05:54 AM
Fatal Error how do i fix it Kompressor Linux - Newbie 1 08-02-2002 12:07 AM

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

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