LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install Berkeley DB library version 5.1.25 on RHEL-5.6? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-berkeley-db-library-version-5-1-25-on-rhel-5-6-a-936831/)

amit_1 03-28-2012 03:46 AM

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

TB0ne 03-29-2012 10:56 AM

Quote:

Originally Posted by amit_1 (Post 4638472)
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

amit_1 03-30-2012 12:58 AM

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!!

TB0ne 03-30-2012 10:19 AM

Quote:

Originally Posted by amit_1 (Post 4640336)
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.

amit_1 04-02-2012 01:46 AM

Oh thanks TBOne, I have installed all the dependent packages again, I think it should work now.


All times are GMT -5. The time now is 11:38 AM.