Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-23-2003, 09:32 AM   #1
LQ Newbie
Registered: Jan 2003
Posts: 11

Rep: Reputation: 0
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.
Old 01-23-2003, 02:59 PM   #2
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
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.

Old 01-23-2003, 03:50 PM   #3
LQ Newbie
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you. That was the problem. I used symlink and its working now.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
slack 9 installing php5 and apache2 caged Slackware 2 12-02-2004 06:38 PM
Installing Apache2 and PHP5 biglaz Linux - General 1 10-15-2004 10:42 PM
Impossible: Installing mod_perl2 w/ Apache2 pauljtester Linux - General 1 07-30-2004 11:41 AM
tried installing apache2 and broke apace? cgchris99 Linux - Software 1 04-18-2004 11:34 PM
configure for installing apache2 tommy916 Linux - Software 0 10-28-2003 12:19 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration