2015-04-23 09:12:51
来 源
中存储网
Ubuntu
主机系统:Ubuntu 10.10。 交叉编译iptables-1.4.10时,出现以下错误: eval: 1: libtool_args+=: not found eval: 1: compile_command+=: not found eval: 1: finalize_command+=: not found eval: 1: libtool_args+=: not found eval: 1: compile_command+

主机系统:Ubuntu 10.10。

交叉编译iptables-1.4.10时,出现以下错误:

eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found

解决方法:cd /bin; rm sh; ln -s bash sh

在ubuntu发行版下,查看sh命令。
$ cd /bin
$ ls -l
lrwxrwxrwx 1 root root 4  sh -> dash
实际上,sh命令链接的是dash(Debian-shell)。

声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。