linux 编译中required file `./ltmain.sh' not found 错误的解决办法(转)

时间:2021-02-08 20:25:15

在linux下编译c/c++程序出错:
$ automake --add-missing
....
configure.in:18: required file `build/ltmain.sh' not found

....

--------------------------------------------------------

解决方案(libtoolize配置即可):

$libtoolize --version
-libtoolize (GNU libtool) 1.4.2
.....
$libtoolize --automake --copy --debug --force

转自:http://blog.csdn.net/caizi001/article/details/38871141