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
I solved it just by:
sudo yum install libtool
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With