LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-10-2007, 04:02 PM   #1
tglotch
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
What are the correct hdf5 rpms for RHEL4?


Hi,

I'm a newbie running RHEL4 on a 64 bit Dell workstation. I'm trying to install hdf5 libraries in support of another piece of custom software. There appear to be a large number of hdf5 rpms available and I'm not sure of the correct one to install. Any suggestions would be appreciated.
 
Old 10-10-2007, 04:14 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Download the source rpm from Fedora Core 4 eXTRAS and build them;

http://download.fedora.redhat.com/pu...xtras/4/SRPMS/
 
Old 10-12-2007, 10:30 AM   #3
tglotch
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Lenard,

Thank you for the reply, but as I mentioned, I'm really new to the whole Linux thing. Since I don't know how to build rpms from source code, I did a search on hdf for Fedora 4 hdf rpms and found the following packet: hdf5-1.6.5-4.fc4.x86_64.rpm

I then ran rpm -Uvh hdf5-1.6.5-4.fc4.x86_64.rpm.

This returned:

warning: hdf5-1.6.5-4.fc4.x86_64.rpm: V3 DSA signature: NOKEY, key ID 1ac70ce6
error: Failed dependencies:
libcrypto.so.5()(64bit) is needed by hdf5-1.6.5-4.fc4.x86_64
libssl.so.5()(64bit) is needed by hdf5-1.6.5-4.fc4.x86_64

searching for libcrypto.so.5()(64bit), I found the following: openssl-0.9.7f-7.10.x86_64.rpm

In trying to open this, I got:

warning: openssl-0.9.7f-7.10.x86_64.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
libk5crypto.so.3(k5crypto_3_MIT)(64bit) is needed by openssl-0.9.7f-7.10.x86_64
libkrb5.so.3(krb5_3_MIT)(64bit) is needed by openssl-0.9.7f-7.10.x86_64

and a lot of other dependencies for libcrypto.so.4()(64bit)and libssl.so.4()(64bit)

So, I searched for libcrypto.so.4()(64bit) and found openssl097a-0.9.7.a-3.1.x86_64.rpm

Running this, I received
warning: openssl097a-0.9.7a-3.1.x86_64.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
libk5crypto.so.3(k5crypto_3_MIT)(64bit) is needed by openssl097a-0.9.7a-3.1.x86_64
libkrb5.so.3(krb5_3_MIT)(64bit) is needed by openssl097a-0.9.7a-3.1.x86_64
openssl <= 0.9.7a conflicts with openssl097a-0.9.7a-3.1.x86_64

So, this tells me I already have openssl, doesn't it?

I did a search of my system for openssl and found directories in /usr/share/doc, /usr/include, /usr/lib64/python2.3/site-packages, and /usr/lib/ruby/1.8, and an executable in /usr/bin.

So I obviously have a version of this preinstalled. If that is the case, then why am I getting the failed dependencies and conflicts? I guess I should mention that I'm trying to install this in /usr/local, but that shouldn't make a difference, should it?

Thanks for any help.
 
Old 10-12-2007, 01:43 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
That is why I said build the binary package from the source rpm package, so it will build for RHEL4. You have RHEL4, you should use up2date and maybe:

http://wiki.centos.org/HowTos/Packag...ment/YumOnRHEL
http://fedoraproject.org/wiki/EPEL

to satisfy the dependencies required when building the binary package.

Building binary rpm's is not that hard, you will need to have the rpm-build package installed then it can be as simple as;

rpmbuild --rebuild --define 'dist .el4' hdf5-1.6.5-4.fc4.src.rpm

Watch the ouput, you will see where the binary rpm package is built to at the end, the default location is /usr/src/redhat/RPMS/x86_64 is this case.
 
  


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
where can i xine rpms for RHEL4 b123coder Linux - Software 2 04-06-2006 03:43 PM
RPMs - FC4 v. RHEL4 logosys Linux - Newbie 1 10-02-2005 06:25 PM
How to build rpms for RHEL4 Updates srpms dfowensby Red Hat 3 05-31-2005 11:08 AM
picking correct RPMs Gersen Linux - Software 5 04-17-2005 10:21 PM
Developer tools installed? Correct rpms? EnVoy Mandriva 1 03-13-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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