Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

AC_PROG_LIBTOOL error

📅 2016-Jan-19 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ error, libtool ⬩ 📚 Archive

Problem

I was trying to build GPerfTools by running its autogen.sh script when I got this error:

$ ./autogen.sh 
configure.ac:154: error: possibly undefined macro: AC_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

Solution

I was mistaken in thinking that AC_PROG_LIBTOOL was referring to some generic library tool. Actually, there is a GNU LibTool script that is used to build libraries.

To install it:

$ sudo apt install libtool

The build worked fine after installing this package.

Tried with: Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧