ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libmysqlclient.la'
Current working directory /soft/mysql-5.0.45/libmysql
*** 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 Docs cmd-line-utils sql-common scripts pstack strings mysys dbug extra regex innobase myisam myisammrg heap vio sql libmysql client man tests netware sql-bench mysql-test support-files server-tools'; 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 /soft/mysql-5.0.45
*** Error code 1
make: Fatal error: Command failed for target `all'作者: race 时间: 2007-07-22 20:43
这样的问题都是跟版本有关系,一般都是编译软件、安装软件、操作系统直接不匹配。
楼主可以下载pkgadd的包,直接安装,