You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by MA...@LILLY.COM on 2003/11/05 18:26:39 UTC

[users@httpd] Problem Building Apache 2.0.48 on Solaris 9

I am having a problem building apache 2.0.48 on Solaris 9. I did search 
(google'd) the internet but could not find anything that could help me. 
Any help would be very appreciated.

Background info:

$ uname -a
SunOS tortuga 5.9 Generic_112233-03 sun4u sparc SUNW,Sun-Fire-480R Solaris

$ gcc --version
gcc (GCC) 3.3.2

$ ld --version
GNU ld version 2.14 20030612

$ as --version
GNU assembler 2.14 20030612

This is what I did:

$ cd /var/tmp
$ tar zxvf httpd-2.0.48.tar.gz
$ cd httpd-2.0.48
$ ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all
$ make

I get the following error (the relevant part):

...
/var/tmp/httpd-2.0.48/srclib/apr/libtool --silent --mode=link gcc  -g -O2 
-pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-DAP_HAVE_DESIGNATED_INITIALIZER 
-I/var/tmp/httpd-2.0.48/srclib/apr/include 
-I/var/tmp/httpd-2.0.48/srclib/apr-util/include 
-I/var/tmp/httpd-2.0.48/srclib/apr-util/xml/expat/lib -I. 
-I/var/tmp/httpd-2.0.48/os/unix -I/var/tmp/httpd-2.0.48/server/mpm/prefork 
-I/var/tmp/httpd-2.0.48/modules/http 
-I/var/tmp/httpd-2.0.48/modules/filters 
-I/var/tmp/httpd-2.0.48/modules/proxy -I/var/tmp/httpd-2.0.48/include 
-I/var/tmp/httpd-2.0.48/modules/dav/main -export-dynamic 
-L/var/tmp/httpd-2.0.48/srclib/apr-util/xml/expat/lib   -o htpasswd 
htpasswd.lo    /var/tmp/httpd-2.0.48/srclib/pcre/libpcre.la 
/var/tmp/httpd-2.0.48/srclib/apr-util/libaprutil-0.la 
/var/tmp/httpd-2.0.48/srclib/apr-util/xml/expat/lib/libexpat.la 
/var/tmp/httpd-2.0.48/srclib/apr/libapr-0.la -lsendfile -lrt -lm -lsocket 
-lnsl -lresolv
/home/c005036/local/SunOS/bin/ld: .libs/htpasswd: hidden symbol 
`__eprintf' in 
/home/c005036/local/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/libgcc.a(_eprintf.oS) 
is referenced by DSO
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/var/tmp/httpd-2.0.48/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/httpd-2.0.48/support'
make: *** [all-recursive] Error 1

Thanks

--Abdelaziz
__________________________________________________________________________________________
 Abdelaziz Mahoui, PhD -- Sr. Systems Analyst -- ChemInformatics -- 
mahouiab@lilly.com -- (317) 651-4082

This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy 
all copies of the original message.