Date: Sat, 30 Jun 2007 17:17:02 +0200 From: "Federico Lorenzi" <florenzi@gmail.com> To: freebsd-questions@freebsd.org Subject: (Solution) Libtool library used but `LIBTOOL' is undefined Message-ID: <3a386af20706300817h5f962ba8xeb1ccedc34fb9946@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi List I've been having this problem for a while, and after countless tries at fixing it, discovered it is really simply. I thought i might post the solution here in case anyone else encounters the same problem. Basically when running ./autogen or bootstrap, you get something like: fed# automake src/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined src/Makefile.am:3: src/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' src/Makefile.am:3: to `configure.in' and run `aclocal' and `autoconf' again. This is caused because FreeBSD renames the default tools, like aclocal to aclocal19. When aclocal is run, it looks for files in its FreeBSD set directory, /usr/local/share/aclocal19 but most normal apps, like libtool, install to /usr/local/share/aclocal. The solution? Simple! Just merge the contents into one directory, delete the other, and create a symlink! Hope this helps someone Federico
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a386af20706300817h5f962ba8xeb1ccedc34fb9946>