64位 solaris10, make libxml2 出错
机器: 64位 Solaris 10步骤:
cd /root
tar zxvf libxml2-2.6.26.tar.gz
./configure –prefix=/usr/local/libxml
make
make install
(详细出处参考:http://www.jb51.net/os/Solaris/1643.html)
在make的时候出错:
Undefined first referenced
symbol in file
gzopen64 ./.libs/libxml2.so
ld: fatal: Symbol referencing errors. No output written to .libs/xmllint
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `xmllint'
Current working directory /export/home/times10/GGG/apache/libxml2-2.6.24/libxml2-2.6.24
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='include . doc example xstc python'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make$local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make"$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/times10/GGG/apache/libxml2-2.6.24/libxml2-2.6.24
*** Error code 1
make: Fatal error: Command failed for target `all'
root@M4000-3 #
root@M4000-3 # 回复 1# lifesunson
/usr/local/libxml这个对吗? libiconv,
libintl,
libidn,
openssl-1.0.0d,
curl,
expat,
fontconfig,
freetype,
freetds,
libssh2,
gd,
jpeg,
openldap,
mysql,
libpng,
sasl,
libxml2,
zlib,
xpm,
这些都装了吗? root@M4000-3 # ls/usr/local/libxml
include
几乎都装了
感觉是64位的问题。 都装了,估计就是PATH设置不对了。
页:
[1]