0 Replies Latest reply: Apr 27, 2010 10:46 AM by 807567 RSS

    Error build Apache 2

    807567
      Hello.
      I'm build Apache 2.2.15, but does not work.
      make interrupted by this error:
      ...
      /export/source/httpd-2.2.15/srclib/apr/libtool --silent --mode=link gcc -g -O2        -o htpasswd  htpasswd.lo   -lm /export/source/httpd-2.2.15/srclib/pcre/libpcre.la /export/source/httpd-2.2.15/srclib/apr-util/libaprutil-1.la -lexpat -liconv /export/source/httpd-2.2.15/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread
      Undefined                       first referenced
       symbol                             in file
      atomic_swap_32                      /export/source/httpd-2.2.15/srclib/apr/.libs/libapr-1.so
      atomic_cas_ptr                      /export/source/httpd-2.2.15/srclib/apr/.libs/libapr-1.so
      atomic_swap_ptr                     /export/source/httpd-2.2.15/srclib/apr/.libs/libapr-1.so
      atomic_inc_32_nv                    /export/source/httpd-2.2.15/srclib/apr/.libs/libapr-1.so
      atomic_dec_32_nv                    /export/source/httpd-2.2.15/srclib/apr/.libs/libapr-1.so
      atomic_cas_32                       /export/source/httpd-2.2.15/srclib/apr/.libs/libapr-1.so
      ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
      collect2: ld returned 1 exit status
      make[2]: *** [htpasswd] Error 1
      make[2]: Leaving directory `/export/source/httpd-2.2.15/support'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/export/source/httpd-2.2.15/support'
      make: *** [all-recursive] Error 1
      Configuration Options:
      #echo $PATH
      /usr/local/bin:/opt/sunstudio12.1/bin:/opt/SUNWspro/bin:/usr/local/perl/bin:/usr/local/sbin:/opt/sfw/bin:/opt/sfw/sbin:/usr/openwin/bin:/usr/sfw/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/ccs/bin:/usr/jdk/instances/jdk1.5.0/bin:/usr/local/pgsql/bin:/usr/local/php5/bin
      
      #crle -c /var/ld/ld.config -l /usr/local/lib:/opt/csw/lib/libmcrypt:/opt/csw/lib:/opt/sfw/lib:/usr/sfw/lib:/opt/sunstudio12.1/lib:/opt/SUNWspro/lib:/usr/local/perl/lib:/usr/ccs/lib:/lib:/usr/local/BerkeleyDB.4.7/lib:/opt/csw/include/mutils:/opt/csw/include:/usr/lib -e LD_LIBRARY_PATH=/usr/local/lib:/opt/csw/lib/libmcrypt:/opt/csw/lib:/opt/csw/include/mutils:/opt/csw/include:/opt/sunstudio12.1/lib:/opt/SUNWspro/lib:/opt/sfw/lib:/usr/local/perl/lib:/usr/openwin/lib:/usr/sfw/lib:/opt/sfw/gcc-2/lib:/usr/dt/lib:/usr/ccs/lib:/etc/lib:/usr/local/mysql/lib/mysql:/usr/local/BerkeleyDB.4.7/lib:/usr/local/pgsql/lib:/usr/local/lib/sasl2:/usr/local/include:/usr/local/php5/lib/php:/usr/lib
      
      # uname -a
      SunOS Vega 5.10 Generic_Patch_118844-30 i86pc i386 i86pc
      Can you advise what is wrong?