Reputation: 1608
I got an error while trying to compile a library in centOS 7, and i tried reinstall libtool but it does not help. Below is the error
+ autoreconf --install
configure.ac:32: warning: macro 'AM_PROG_LIBTOOL' not found in library
configure.ac:32: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Upvotes: 18
Views: 21744
Reputation: 22328
You might need: autoreconf -fvi
to make sure everything is updated.
It's also worth noting that AM_PROG_LIBTOOL
is deprecated, and should be replaced with LT_INIT
, and optionally with LT_PREREQ
beforehand.
Upvotes: 10