LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Installing Apache2.0.44


Hi:
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: libgcc_s.so.1: 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 rpmfind.net.
The gcc version on my system is gcc3.0.1. I searched rpmfind.net and found this link:
http://rpmfind.net//linux/RPM/linuxP...0.1-0.ppc.html

My question is, is this the right package? I got a number of packages listed when I ran search on rpmfind.net. This is the search result link:
http://rpmfind.net/linux/rpm2html/se...&system=&arch=

Thanks for your time.
 
Old 01-23-2003, 02:59 PM   #2
nxny
Member
 
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/ld.so.conf and run ldconfig.

HTH
 
Old 01-23-2003, 03:50 PM   #3
webee
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 AM.

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