LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-15-2013, 11:17 AM   #1
gopa
LQ Newbie
 
Registered: Aug 2011
Posts: 13

Rep: Reputation: Disabled
How to install BERKELEY DB


For Redhat 32 Bit and 64 Bit operating Systems

db-4.5.20.tar.gz

openldap-2.4.19.tgz

Place the above builds under /usr/local/src

tar -xzvf db-4.5.20.tar.gz
cd db-4.5.20
cd build_unix/

../dist/configure --prefix=/usr/local/berkeleydb

make
make install
echo "/usr/local/berkeleydb/lib/" >> /etc/ld.so.conf
ldconfig
 
Old 03-15-2013, 11:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Why would you want to recommend installing these standard packages from source? Are you asking for help? This really isn't a good place to post advice and tutorials either way, we have a dedicated tutorial subsite for that sort of thing, or a blog of your own would be a suitable location.
 
1 members found this post helpful.
Old 03-15-2013, 12:49 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,143

Rep: Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642
Quote:
How to install BERKELEY DB
Definitely not in the way shown in post # 1.
Replacing system packages with alien versions is not recommended,
particularly not when it's an "Enterprise OS".

The right way is : # yum install db4-devel openldap-devel

-
 
1 members found this post helpful.
Old 03-15-2013, 01:41 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,976

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
The OP has re-opened several old threads, with similarly misleading/incorrect 'tutorials'. At least this thread wasn't necroposted/hijacked like the others.
 
1 members found this post helpful.
  


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 to install Berkeley DB library version 5.1.25 on RHEL-5.6? amit_1 Linux - Software 4 04-02-2012 02:46 AM
[SOLVED] berkeley db not available x201s Linux - Software 2 07-15-2011 04:34 AM
Kdevelop Install error - please install Berkeley DB zimwayno Linux - Software 3 10-23-2007 08:12 AM
Install the original Berkeley DB and the like Swift&Smart Slackware 11 01-16-2005 12:02 AM
cannot install berkeley db3 / db3_load on redhat mr_r Linux - Software 4 11-11-2003 10:39 PM


All times are GMT -5. The time now is 05:21 PM.

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