Last Updated: February 25, 2016
·
4.44K
· suranyami

Libtool library used but `LIBTOOL' is undefined

Found this great site:

Linux Tips

Which had a solution to the following problem I had today installing Ruby 1.9.3 on Ubuntu.

Problem: When trying to automake something, it says:

src/Makefile.am:85: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:85:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:85:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:85:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:85:   its definition is in aclocal's search path.</pre></div>

and AC_PROG_LIBTOOL is indeed in configure.ac

Cause: libtool was not installed

Solution: apt-get install libtool