LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Oracle 11i apps on RH9 .. libdb.so.3 error (https://www.linuxquestions.org/questions/linux-newbie-8/oracle-11i-apps-on-rh9-libdb-so-3-error-129670/)

BiTurboMan 12-28-2003 11:09 PM

Oracle 11i apps on RH9 .. libdb.so.3 error
 
Hello,

I have been trying to install Oracle 11i apps on RH9 and having trouble.

I've followed the install guide from :http://databee.com/apps11i_install.htm

I tried to find the "compat-db-3.3.11-3.i386.rpm" on the net, RPMfind with no luck. I found the ..-2 and ..-4 but not ..-3 ..

I installed the ..-2 and ..-4 RPMs and they did not work. At the end of the install, Apache fails to start and indicates error loading library "libdb.so.3"...

I even tried placing the file libdb.so.3 (downloaded from an ftp site) in "/usr/lib" directory as the guide states... still no luck.

Does anyone know where I can get this "compat-db-3.3.11-3.i386.rpm"?

Or

perhaps a source code for it and some instructions on installing it???

Any help regarding this would be truly appreciated!

Thank you!

ugob 12-29-2003 07:50 AM

http://www.hklpg.org/RPM/rawhide/1.0...11-3.i386.html

BiTurboMan 12-29-2003 09:44 AM

I went through this page many times and tried to select almost all the links there. Maybe, I am missing something here but, I can't download anything...

When I click on the main link (big heading on the top), I get page cannot be displayed error....

Anything that I am doing wrong?

Thank you.

DavidPhillips 12-29-2003 10:15 AM

http://www.rpmfind.net/linux/rpm2htm...mit=Search+...

BiTurboMan 12-29-2003 10:30 AM

I've downloaded these previously and installed with no luck. I can only find compat-db-3.3.11-4.src.rpm or compat-db-3.3.11-2.src.rpm but NOT the one I am looking for which is: compat-db-3.3.11-3.src.rpm

Why is this the hardest thing to find on the web? I just don't understand...

If you refer to my original post, it includes a link to "databee.com..." and in that page, it is clearly indicated about apache being stubborn about the version of this library... Unfortunately, it is true...

By now, I've searched numerous ftp sites and installed the ...4 and ...2 rpms with no luck....

Still dead in the water...

ugob 12-29-2003 07:29 PM

if you're using redhat 9 or fedora core 1, it (libdb.so.3) is in the package compat-db

[root@host root]# apt-cache search libdb.so.3
compat-db - The Berkeley DB database library for Red Hat Linux 7.x compatibility.


If you don't have it, get apt

http://apt.freshrpms.net

then read
man apt-get
man apt-cache

alar 12-29-2003 10:01 PM

RPM resource libdb.so.3. Provided by. compat-db-3.3.11-3.i386, The Berkeley DB
database library for Red Hat Linux 7.x compatibility. RawHide 1.0 for i386. ...
www.hklpg.org/RPM/libdb.so.3.html - 8k - Cached - Similar pages

On RH9 I used Synaptic to find:

compat-db-3.3.11-4

The Berkeley Database (Berkeley DB) is a programmatic
toolkit that provides embedded database support for both
traditional and client/server applications. This package
contains various versions of Berkeley DB which were included
in previous releases of Red Hat Linux.

Have fun,
alar :)

BiTurboMan 12-30-2003 08:26 PM

Update on the Issue...resolved

First, I want to Thank everyone of you for your input on this thread. It's
guys like you that really make a difference!
-------------------------------------------------------------------------------------------------------------------------------------------------



Today, after work :mad:, I was having one of those "What if" :scratch: moments and when I tried :rolleyes:, it worked!!! :)

Here is what I did:
=============

1) Downloaded compat-db-3.3.11-4.i386.rpm (again... ;-) )

2) copied that RPM file into /test directory.
>) Make sure to copy and run the next command in a "/test" or a "/tmp" directory. Otherwise, it will extract all the directories right at the "/" or any other directory you are in at time of issuing the command.

3) Issued this command: "rpm2cpio compat-db-3.3.11-4.i386.rpm | cpio -iv -make-directories" {<--This is on RH9. Commands may differ in other versions of linux }

4) Next, copy the lib file to the right directory and rename it.

>)cp /test/lib/libdb2.so.3 /lib/libdb.so.3

>>>Apache needs this to be "libdb.so.3". Renaming the "libdb2.so.3" to "libdb.so.3" works in this case... :cool:

Run appropriate scripts in 11i to start apache (adapcctl.sh start)... and things should work!

I hope this helps someone out there. I know that I went through hell and dug so much (being a newbie didn't help -I guess it's all part of :study: ).


And, that's my :twocents:
-bharat


All times are GMT -5. The time now is 03:29 AM.