Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


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


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

$ ./ 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


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 • 🐘📧