LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 10: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, 10:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 11:49 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 12:41 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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