"AM_PROG_LIBTOOL" not found in library

Moses Liao GZ picture Moses Liao GZ · Mar 19, 2015 · Viewed 13.5k times · Source

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

Answer

SzB picture SzB · Jul 29, 2019

I solved it just by:

sudo yum install libtool