LinuxQuestions.org
Register a domain and help support LQ
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 03-28-2012, 04:46 AM   #1
amit_1
LQ Newbie
 
Registered: Mar 2012
Posts: 25

Rep: Reputation: Disabled
How to install Berkeley DB library version 5.1.25 on RHEL-5.6?


Hi, I want to install BDB library version 5.1.25 on my redhat machine which is a pre-requisite to install some RPMs.

I have Berkeley DB version 4.4.3. (db-4-4.3) on my RHEL-5.6 machine, but i need version 5.1.25.

Can anyone tell me how to install this particular version of BDB library. I am not able to find the correct RPM file for this version on internet. If anyone can help me find the RPM for this version, that will be very helpful for me. I am stuck without this rpm.

Thanks
Amit
 
Old 03-29-2012, 11:56 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,071

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by amit_1 View Post
Hi, I want to install BDB library version 5.1.25 on my redhat machine which is a pre-requisite to install some RPMs. I have Berkeley DB version 4.4.3. (db-4-4.3) on my RHEL-5.6 machine, but i need version 5.1.25.

Can anyone tell me how to install this particular version of BDB library. I am not able to find the correct RPM file for this version on internet. If anyone can help me find the RPM for this version, that will be very helpful for me. I am stuck without this rpm.
If you were paying for your RHEL, you'd have access to these things. Are you? If not, why are you not using CentOS, which is nearly identical to RHEL, but free??? This would solve not only this problem, but your other thread about SSL as well.

BDB is a big component of RHEL....modifying it/changing it/updating it will likely break a LOT of different things. If you just put "linux berkley db" into Google, you'd see the homepage, and where to download the latest version...did you try that?
http://www.oracle.com/technetwork/pr...ex-085366.html
 
1 members found this post helpful.
Old 03-30-2012, 01:58 AM   #3
amit_1
LQ Newbie
 
Registered: Mar 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Yes, My RHEL-5.6 is paid version. and I did download and install "Berkeley DB 5.1.29.tar.gz" from http://www.oracle.com/technetwork/pr...ex-082944.html

But when i try to install an RPM whose dependency is "Berkeley DB 5.1" i get an error libdb-5.1.so not found (which is already present in /usr/lib and /lib). I installed that RPM using --nodeps. But now a C program that came with this RPM is not getting executed. The error is libgnults.so.26 not found and i have lingnults.so.13

So what do you think the problem may be? Do i need to install any other dependecy? The older version (Berkeley DB-4.4)is still installed in the system, so are they conflicting with each other?

I found another RPM on internet "libdb-5.1.25-2.fc15.src.rpm" from http://arm.koji.fedoraproject.org/ko...?buildID=35458

Is it the correct RPM? I have recently started C coding on linux platform. So i am not able to resolve these some issues. Plz help!!
 
Old 03-30-2012, 11:19 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,071

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by amit_1 View Post
Yes, My RHEL-5.6 is paid version. and I did download and install "Berkeley DB 5.1.29.tar.gz" from http://www.oracle.com/technetwork/pr...ex-082944.html

But when i try to install an RPM whose dependency is "Berkeley DB 5.1" i get an error libdb-5.1.so not found (which is already present in /usr/lib and /lib). I installed that RPM using --nodeps. But now a C program that came with this RPM is not getting executed. The error is libgnults.so.26 not found and i have lingnults.so.13

So what do you think the problem may be? Do i need to install any other dependecy? The older version (Berkeley DB-4.4)is still installed in the system, so are they conflicting with each other? I found another RPM on internet "libdb-5.1.25-2.fc15.src.rpm" from http://arm.koji.fedoraproject.org/ko...?buildID=35458 Is it the correct RPM? I have recently started C coding on linux platform. So i am not able to resolve these some issues. Plz help!!
Spell out your words. And if you have a paid subscription to RHEL, the best way to resolve your issue is to call RedHat support...you're paying for it, along with access to their packages, and installation notes. They can walk you through everything, and tell you what you need to do.

Again, updating BDB affects a LOT of things...if you're installing from source code, you're going to break dependencies, or install multiple versions of things, which could cause all sorts of different side-effects. Call RedHat support.
 
Old 04-02-2012, 02:46 AM   #5
amit_1
LQ Newbie
 
Registered: Mar 2012
Posts: 25

Original Poster
Rep: Reputation: Disabled
Oh thanks TBOne, I have installed all the dependent packages again, I think it should work now.
 
  


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
How do I install Tape library in RHEL 5.2 smartyshan Linux - Server 4 04-28-2009 10:30 AM
Wrong Berkeley database version... Stjohnbee Linux - Software 0 04-18-2009 04:32 PM
RHEL 4 PHP 5.1.2 GD library install problem Strike2000 Red Hat 0 06-03-2008 06:38 AM
i have rhel es 4 installed. which is the rpm to install pthread library? jaishripatil Linux - Software 1 03-03-2007 06:10 AM
Berkeley DB question: which version used for Slack? Darklion Slackware 1 12-06-2004 10:25 PM


All times are GMT -5. The time now is 09:10 AM.

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