You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Badar <mb...@esri.com> on 2005/10/25 01:46:50 UTC

[users@httpd] Solaris make errors

Greetings,

I'm a new subscriber; if my questions have been previously answered,
please direct me to the archives for the solution.

I'm running Solaris 9 on a sparc box; I'm using ksh as my shell.  I
downloaded the 2.0.54 source and ran configure with the following
options:

./configure --prefix=/mp1/software/httpd-2.0.54-binary

The above command completed without errors.

My next step was to run "make"; I received the following errors:

bobby@mp:/mp1/software/httpd-2.0.54-source> make

<snip>

ld: fatal: library -lgcc_s: not found
ld: fatal: library -lgcc_s: not found
ld: fatal: File processing errors. No output written to
.libs/libexpat.so.0.1.0
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libexpat.la'
Current working directory
/mp1/software/httpd-2.0.54-source/srclib/apr-util/xml/expat/lib
*** Error code 1
make: Fatal error: Command failed for target `build-subdirs'
Current working directory
/mp1/software/httpd-2.0.54-source/srclib/apr-util/xml/expat
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/mp1/software/httpd-2.0.54-source/srclib/apr-util/xml
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/mp1/software/httpd-2.0.54-source/srclib/apr-util
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /mp1/software/httpd-2.0.54-source/srclib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
bobby@mp:/mp1/software/httpd-2.0.54-source>

My LIBPATH is set as follows:

bobby@mp:/mp1/software/httpd-2.0.54-source> echo $LIBPATH
/usr/lib:/lib:/usr/ccs/lib:/usr/ccs/lib/sparcv9

I am running the following version of "gcc":

bobby@mp:/mp1/software/httpd-2.0.54-source> gcc -v
Reading specs from
/mp1/software/GNUgcc/root/usr/local/bin/../lib/gcc/sparc64-sun-solaris2.
9/3.4.4/specs
Configured with: /var/tmp/gcc-3.4.4/configure --prefix=/usr/local
--host=sparc64-sun-solaris2.9 --enable-threads=posix
--with-gxx-include-dir=/usr/local/include/g++ --with-system-zlib
--enable-shared --with-ld=/usr/ccs/bin/ld --without-gnu-ld
Thread model: posix
gcc version 3.4.4
bobby@mp:/mp1/software/httpd-2.0.54-source>

Did I miss a flag when running "configure"?  Do I need to download
supplemental libraries?  I have run out of ideas.  Any help would be
greatly appreciated.

Mike Badar
ESRI-Denver
1 International Court
Broomfield, CO  80021-3200
303-449-7779
mbadar@esri.com
www.esri.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


[users@httpd] Re: Solaris make errors

Posted by Joost de Heer <sa...@xs4all.nl>.
> ld: fatal: library -lgcc_s: not found

Do you have libgcc installed? (Can be found on sunfreeware) If libgcc_s.so
isn't in a default path (as your '/var/tmp/gcc*' variables seem to
indicate) you have to add the path it's in to your LD_LIBRARY_FLAGS.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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