Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 63931 invoked from network); 28 Jul 2004 18:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jul 2004 18:13:13 -0000 Received: (qmail 26272 invoked by uid 500); 28 Jul 2004 18:12:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 26227 invoked by uid 500); 28 Jul 2004 18:12:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 26210 invoked by uid 99); 28 Jul 2004 18:12:56 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received: from [128.32.34.206] (HELO gumbu.cs.berkeley.edu) (128.32.34.206) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 28 Jul 2004 11:12:51 -0700 Received: from gumbu.cs.berkeley.edu (localhost [127.0.0.1]) by gumbu.cs.berkeley.edu (8.12.9p2/8.12.9) with ESMTP id i6SICkMd083315 for ; Wed, 28 Jul 2004 11:12:46 -0700 (PDT) (envelope-from mandric@eecs.berkeley.edu) Received: (from mandric@localhost) by gumbu.cs.berkeley.edu (8.12.9p2/8.12.9/Submit) id i6SICkjY083314 for users@httpd.apache.org; Wed, 28 Jul 2004 11:12:46 -0700 (PDT) (envelope-from mandric@eecs.berkeley.edu) X-Authentication-Warning: gumbu.cs.berkeley.edu: mandric set sender to mandric@eecs.berkeley.edu using -f Date: Wed, 28 Jul 2004 11:12:46 -0700 From: Milan Andric To: users@httpd.apache.org Message-ID: <20040728181245.GH7594@eecs.berkeley.edu> Mail-Followup-To: users@httpd.apache.org References: <5.2.1.1.2.20040728104202.033daf90@eon.pobox.stanford.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.1.1.2.20040728104202.033daf90@eon.pobox.stanford.edu> User-Agent: Mutt/1.5.6i X-Virus-Checked: Checked Subject: Re: [users@httpd] Compile Apache 2.0.50 on Solaris 8 problems X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, Jul 28, 2004 at 11:00:50AM -0700, Erin O'Neill wrote: > Hey all - > I've been given the task to customize Apache on a Solaris 5.8 (sparc 8) > system. The problem is that I must put it in my HOME, rather than > /usr/local/apache2. Ok, I'm cool with that and apache2 docs are cool with > that. > > I'll be adding in PHP and mod_perl, MySQL has already been installed with a > binary. > > It configures. Here's what my configure script looks like: > ./configure > --prefix=$HOME/apache2 --with-mpm=prefork --enable-mods-shared=most > > I do a make and then a make install and things show up where they > should. I want to test my build so I do this: > $HOME/apache2/bin/httpd -l > ld.so.1: ./httpd: fatal: libgcc_s.so.1: open failed: No such file or > directory > Killed > > My gcc -v gives me this: > Reading specs from /usr/pubsw/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1/specs > Configured with: ../../gcc-3.3.1/configure --datadir=${prefix}/lib > --libexecdir=${prefix}/lib --sharedstatedir=${prefix}/lib > --prefix=/usr/pubsw --enable-threads --disable-multilib --with-gnu-as > --with-as=/usr/pubsw/bin/as --with-gnu-ld --with-ld=/usr/pubsw/bin/ld > Thread model: posix > gcc version 3.3.1 > > Any suggestions? Hints? Hi, i think the maillist archive has more information ( you can probably search for libgcc_s). To actually fix the problem you need to recompile httpd and pass -lgcc_s -R/usr/local/lib to gcc OR compile in libgcc_s.la statically. As a workaround, you can add /usr/local/lib to LD_LIBRARY_FLAGS in $HOME/bin/envvars. assuming libgcc_s.so is in /usr/local/lib HTH, -- Milan --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org