Note: This only applies to versions of Zeus Web Server prior to 4.2r4. Zeus Web Server 4.2r4 and later statically link the libdb library when required.
Red Hat no longer supply libdb1 as part of their libc, so it will be neccessary to install it if you receive a "libdb.so.2: cannot open shared object file" message. This library is supplied in the gnome-libs package in official Red Hat releases. Assuming that you don't want the Gnome libraries installed on your web-server, instructions on how to extract and install libdb alone are given below.
Alternatively, a third party binary RPM is available, or you can compile it from source. Download locations for these methods are at the bottom of the page.
Binary from the official gnome-libs RPM
Fetch the gnome-libs rpm from your favourite mirror, CD or from:
# ftp://ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/RedHat/RPMS/ \
gnome-libs-1.4.1.2.90-22.i386.rpm
Copy it to a working directory, and run:
# cat gnome-libs-1.4.1.2.90.22.i386.rpm | rpm2cpio | pax -r
This will extract the contents of the rpm into the current directory. As root, copy the library to /usr/local/lib, and create the required link:
# cp ./usr/lib/libdb1.so.2 /usr/local/lib
# cd /usr/local/lib
# ln -sf libdb1.so.2 libdb.so.2
Ensure that /etc/ld.so.conf contains "/usr/local/lib", and run ldconfig:
# grep /usr/local/lib /etc/ld.so.conf || \
echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
ZWS should now work correctly.
Binary from third-party db1 RPM
This is available from:
http://www.megaloman.com/~hany/RPM/doors2.4/jr/db1-1.85-0.3.i386.html
This binary package can be downloaded and installed using "rpm" in the usual way. This hasn't been tested by Zeus, but an examination of the symbols exported by the "libdb1.so.2" provided by this package indicates that this library should work.
Direct from source
The original Berkley DB source is available from:
http://dev.sleepycat.com/downloads/latestreleases.html
At the time of writing there are five patches which you may need to apply to the tarball. Check the Sleepycat website for details.