LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problems with dependence libdb-4.0.so (https://www.linuxquestions.org/questions/linux-server-73/problems-with-dependence-libdb-4-0-so-800949/)

guif 04-09-2010 01:51 AM

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!

John VV 04-10-2010 05:26 PM

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.

guif 04-12-2010 12:06 AM

All I want is to install sendmail. I know it's an older version

John VV 04-12-2010 12:52 AM

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.

guif 04-12-2010 01:47 AM

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.

John VV 04-12-2010 02:36 AM

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

guif 04-13-2010 02:46 AM

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


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