-   Linux - General (
-   -   Installing Apache2.0.44 (

webee 01-23-2003 09:32 AM

Installing Apache2.0.44
I have installed Apache2.0.44 from source in location /usr/local/apache2.
When I execute apachect1 start I get the following error:
/usr/local/apache2/bin/httpd: error while loading shared libraries: cannot open shared object file: No such file or directory

I am running a RH7.1 and from other messages on this forum, I understand you have to download the required rpm from
The gcc version on my system is gcc3.0.1. I searched and found this link:

My question is, is this the right package? I got a number of packages listed when I ran search on This is the search result link:

Thanks for your time.

nxny 01-23-2003 02:59 PM

Sounds like the GNU linker (ld) cant find the shared object library it is trying to load.

do 'updatedb' as root. Wait for it to finish.

and then 'locate libgcc_s | xargs ls -l'. Okay now it told you where your library was. And symlinks to it with an extension.. if any. Now you have to tell 'ld' where to look for it by either
1) creating symlinks to the file under /lib or /usr/lib - directories that ld is already configured to scan. Make sure there is a symlink that links to the same lib with a .1 extension. That is what apache is asking ld to look for.
2) adding the directory in which the .so.1 file resides to /etc/ and run ldconfig.


webee 01-23-2003 03:50 PM

Thank you. That was the problem. I used symlink and its working now.

All times are GMT -5. The time now is 10:49 AM.