ubuntu libtool_args+=: not found 解决办法

原文地址:http://blog.csdn.net/cbffyx/article/details/8490574


今天编译opencv2.0的时候,make  后遇到如下情况:

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

。。。

多方查证,发现是bin/sh->dash,ubuntu    sh默认的是连接到dash,

解决方法两种:

   (1)、bin/sh->bin/bash(sudo rm /bin/sh; cd /bin; ln -s bash sh)

   (2)、文件里SHELL修改为bin/bash

你可能感兴趣的:(ubuntu)