当前位置: 首页 > 工具软件 > libtool > 使用案例 >

Makefile.am:24: error: Libtool library used but ‘LIBTOOL‘ is undefined

从智志
2023-12-01

编译开源软件的时候报错如下:

Makefile.am:24: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:24:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:24:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:24:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:24:   its definition is in aclocal's search path.

原因是ubuntu缺软件,执行如下命令:

apt-get install libtool

 类似资料: