Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with starting up Apache

Status
Not open for further replies.

ChronoGN

IS-IT--Management
Jan 1, 2002
3
US
Hi, I'm trying to install Apache into a Red Hat Linux 6.2 computer. And I'm having trouble starting it up.
When I run "apachect1 start" I get a error that says..

/usr/local/apache/bin/httpd: error in loading shared libraries: libgdbm.so.1: cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started

Where can I get this libgdm.so.1 librarie? and where am I supposed to have it in?

Any help will be appreciated :)
 
Hi,

Libgdbm (GNU dbm) is provided by the gdbm rpm on redhat and the 6.2. one is here --> ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/redhat-6.2-en/os/i386/RedHat/RPMS/gdbm-1.8.0-3.i386.rpm

However that gives you libgdbm.so.2 instead of libgdbm.so.1 which I believe dates from gdbm 1.7.3 .

So, you could try to create a symlink to the newer library or maybe download the original source from ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/pub/gnu/gdbm/gdbm-1.7.3.tar.gz and build that.

Have you tried using a redhat apache rpm instead - handling the dependencies is probably easier that way. Also, what version of apache is that you have ?

Regards


 
I have Apache version 1.3.6. I got it already in binary for linux.
I have installed the gdbm 1.8.0 but I don't know how to create a symlink to the newer library. Can you tell me how?

Also, I would like to use the redhat apache rpm instead if I can find it. I looked it up in some search engines and FTPs but I can't find it.

Thanks for the help. :)
 
creating symbolic links:

ln -s existing.filename link.filename

on my machine the libgdbm.so.2 libs are in /usr/lib, so I would do:

ln -s /usr/lib/libgdbm.so.2 /usr/lib/libgdbm.so.1 AV
tnedor@yahoo.com

Did this post help? Click below to let me know.
 
Hi,



Redhat's package of Apache 1.3.12 can be obtained from here (or any other redhat mirror) :



ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/redhat-6.2-en/os/i386/RedHat/RPMS/apache-1.3.12-2.i386.rpm



Just download, change directory to download dir and then do as root :



rpm -Uvh apache*.rpm



If it needs anything else it will soon tell you...



The redhat rpm includes a sysv init start / stop /restrat script, i.e. /etc/rc.d/init.d/httpd, which will be set to start the server automatically at runlevels 3/4/5.



Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top