LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-09-2010, 01:51 AM   #1
guif
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Rep: Reputation: 15
Problems with dependence libdb-4.0.so


I have problems to install postfix in Red Hat Linux release 9 (Shrike).
This is my output:

Code:
[server02].root:/tmp/sendmail>rpm -Uvh postfix-1.1.11-11.i386.rpm
warning: postfix-1.1.11-11.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        libdb-4.0.so is needed by postfix-1.1.11-11
I check this library:

Code:
[server02].root:/tmp/sendmail>locate libdb-4.0.so
/usr/lib/libdb-4.0.so.old
/usr/lib/libdb-4.0.so
/lib/libdb-4.0.so

[server02].root:/tmp/sendmail>ls -ltrh /usr/lib/libdb-4.0.so
lrwxrwxrwx    1 root     root           17 may 30  2008 /usr/lib/libdb-4.0.so -> /lib/libdb-4.0.so

[server02].root:/tmp/sendmail>ls -ltrh /lib/libdb-4.0.so
lrwxrwxrwx    1 root     root           12 may 30  2008 /lib/libdb-4.0.so -> libdb-4.1.so
What's happend? How can i resolve this issue???

I have the folowwing RPM in my server that i would like to install:

db4-4.0.14-20.i386.rpm
db4-devel-4.0.14-20.i386.rpm
db4-java-4.0.14-20.i386.rpm
db4-utils-4.0.14-20.i386.rpm
fetchmail-6.2.0-3.i386.rpm
libdbi-0.6.5-5.i386.rpm
mutt-1.4-10.i386.rpm
postfix-1.1.11-11.i386.rpm
sendmail-8.12.8-4.i386.rpm
sendmail-cf-8.12.8-4.i386.rpm
sendmail-devel-8.12.8-4.i386.rpm
sendmail-doc-8.12.8-4.i386.rpm

thanks!
 
Old 04-10-2010, 05:26 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you DO know how OLD RH9 is -- right
and that it has been UNSUPPORTED for a very LONG time .
(Shrike), March 31, 2003 (Linux 2.4.20-8) (this release is labeled "9" not "9.0")

it is recommended NOT to use this old and insecure version.
 
Old 04-12-2010, 12:06 AM   #3
guif
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Original Poster
Rep: Reputation: 15
All I want is to install sendmail. I know it's an older version
 
Old 04-12-2010, 12:52 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I know it's an older version
-- not just " older" but has been buried 6 feet down for a long time --
good luck finding 6 year old rpm's
or finding the 6 year old source code.
 
Old 04-12-2010, 01:47 AM   #5
guif
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Original Poster
Rep: Reputation: 15
I have the RPM's yet (the CD)
I opened this post to resolve this issue (not to discuss the operating system version)
I search information in www but i can not see the solution.
 
Old 04-12-2010, 02:36 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the OLD red hat used a program called " up2date " to install software

the error is that rpm dose not have that .so in it's database
have you tried this
Code:
rpm --rebuilddb
from the man page
Code:
man rpm
you can use the -force option
a search shows up this
http://forums.devshed.com/mail-serve...0t-149856.html
and
http://dir.filewatcher.com/d/RedHat/...raries.0.0.htm

Last edited by John VV; 04-12-2010 at 02:38 AM.
 
Old 04-13-2010, 02:46 AM   #7
guif
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Original Poster
Rep: Reputation: 15
I see this error:

Code:
[server02].root:/var/lib/rpm>rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy
Then I do:

Code:
rm -f /var/lib/rpm/__db.00?
rpm --rebuilddb
but I see this error continuously
 
  


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
module dependence linuxgentoo Linux - Kernel 4 11-08-2007 09:27 PM
About LQ dependence colucix LQ Suggestions & Feedback 5 02-27-2007 07:34 PM
dpkg dependence how to install them with software? badgerbox76 Linux - Newbie 1 04-16-2006 06:05 AM
Samba - machine name dependence? Jerksquad Linux - Networking 0 01-09-2004 09:50 AM
glic-dependence !!! tricky_linux Linux - Software 2 10-04-2003 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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