Table of contents

jq warning: macro 'AM_PROG_LIBTOOL' not found in library

Linux Jun 23, 2020 Viewed 416 Comments 0


Download the jq source and configure, run the commands blew.

$ git clone
$ cd jq
$ git submodule update --init
$ autoreconf -fi

But the following error occurs. warning: macro 'AM_PROG_LIBTOOL' not found in library 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


It needs to install libtool.

  • Mac OS
brew install libtool
  • Ubuntu/Debian
sudo apt-get install libtool
  • RHEL/CentOS
sudo yum install libtool
Updated Jun 27, 2020