Automake: Wie man 'Libtool library used but LIBTOOL is undefined' behebt

Problem

Sie versuchen, ein Projekt mit automake zu konfigurieren, aber Sie sehen Fehlermeldungen wie

libtool_error.txt
src/Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:3:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:3:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:3:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:3:   its definition is in aclocal's search path.

Lösung

Installieren Sie libtool z.B. mit

install_libtool.sh
sudo apt install libtool

Check out similar posts by category: Build Systems