jq warning: macro 'AM_PROG_LIBTOOL' not found in library
Issue
Download the jq source and configure, run the commands blew.
$ git clone https://github.com/stedolan/jq.git
$ cd jq
$ git submodule update --init
$ autoreconf -fiBut the following error occurs.
configure.ac:36: warning: macro 'AM_PROG_LIBTOOL' not found in library
configure.ac:36: 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: 1Solution
It needs to install libtool.
- Mac OS
brew install libtool- Ubuntu/Debian
sudo apt-get install libtool- RHEL/CentOS
sudo yum install libtool