Приветствую!
Столкнулся с необходимостью пересобрать httpd-сервер, так не получается ни в какую. Не могу понять, что мешает.Система Solaris 5.10 x86
PATH = /usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sfw/bin:/usr/local/bin
Пробовал компилировать как сановским компилятором, так и GCC 3.4.3
./configure \
--prefix=/usr/local/apache \
--with-mpm=prefork \
--enable-so \
--enable-modules=all \
--enable-mods-shared=all \
--enable-ssl=shared \
--with-ssl=/usr/local
make в конце выдает ошибки:
/export/source/httpd-2.2.15/srclib/apr/libtool --silent --mode=link cc -g -L/usr/local/lib -R/usr/local/lib -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 /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
libiconv_close /export/source/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.so
libiconv_open /export/source/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-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
libiconv /export/source/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.so
ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
*** Error code 1
make: Fatal error: Command failed for target `htpasswd'
Current working directory /export/source/httpd-2.2.15/support
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list=' '; \
for i in $list; do \
if test -d "$i"; then \
target="$otarget"; \
echo "Making $target in $i"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" = "all" && test -z 'htpasswd htdigest rotatelogs logresolve ab checkgid htdbm htcacheclean httxt2dbm'; then \
made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/source/httpd-2.2.15/support
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list=' srclib os server modules support'; \
for i in $list; do \
if test -d "$i"; then \
target="$otarget"; \
echo "Making $target in $i"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
Может кто сталкивался с подобным, в чем косяк?
Сразу скажу, что libiconv поставил последнюю версию, тестировал при сборке - он работает.