相关疑难解决方法(0)

错误:使用了Libtool库,但未定义"LIBTOOL"

我正在尝试automake使用OrientDb C++库,但是遇到了一些错误.

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

https://github.com/tglman/orientdb-c

https://github.com/tglman/orientdb-c/wiki/Install

我已经定义了configure.ac和Makefile.am.

我运行以下autotools

  • aclocal会

  • 和autoheader

  • automake的:

libtool(GNU libtool)2.4.2

configure.ac

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([orientdb-c],[0.9])
AC_CONFIG_SRCDIR([src/o_query_internal.h])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE()

# …
Run Code Online (Sandbox Code Playgroud)

c linux autotools orientdb

107
推荐指数
3
解决办法
9万
查看次数

标签 统计

autotools ×1

c ×1

linux ×1

orientdb ×1