반응형
오류 : 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.
https://github.com/tglman/orientdb-c
https://github.com/tglman/orientdb-c/wiki/Install
configure.ac와 Makefile.am이 이미 정의되어 있습니다.
다음 자동 도구를 실행합니다.
aclocal
자동 헤더
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()
# Checks for programs.
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
LT_INIT
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([malloc.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([gethostbyname memset socket strchr strcspn strdup strerror])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
내가 이미 시도한 것 :
autoreconf
aclocal -I / usr / share / libtool
aclocal -I.
@Casper와 @Aust 덕분에 나에게 좋은 대답은 libtool을 설치하는 것이 었습니다.
sudo apt-get install libtool
고쳤다. 내가 실행하는 데 필요한 libtoolize
디렉토리에 다음 다시 실행 :
aclocal
자동 헤더
여기서 끝나고를 사용하는 사람들을 위해 CYGWIN
cygwin에 다음 패키지를 설치하고 다시 실행하십시오.
- cygwin32-libtool
- libtool
- libtool-debuginfo
참고URL : https://stackoverflow.com/questions/18978252/error-libtool-library-used-but-libtool-is-undefined
반응형
'program story' 카테고리의 다른 글
iOS 푸시 알림 : 앱이 백그라운드에있을 때 사용자가 알림을 탭했는지 감지하는 방법은 무엇입니까? (0) | 2020.08.13 |
---|---|
apc 대 eaccelerator 대 xcache (0) | 2020.08.13 |
자바의 이상한 정수 복싱 (0) | 2020.08.12 |
새로운 머티리얼 디자인 아이콘 테마를 사용하는 방법 : 윤곽선, 둥근, 투톤 및 샤프? (0) | 2020.08.12 |
Microsoft는 순환 참조가있는 어셈블리를 어떻게 만들었습니까? (0) | 2020.08.12 |