libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool library used but `LIBTOOL' is undefined??


From: Ralf Wildenhues
Subject: Re: Libtool library used but `LIBTOOL' is undefined??
Date: Wed, 5 Jan 2011 07:08:42 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

Hello,

* kknd1233 wrote on Wed, Jan 05, 2011 at 12:14:20AM CET:
> And then when I run the command 'autoreconf --install', it said an error
> message like
> "
> lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
> lib/Makefile.am:1:   The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> lib/Makefile.am:1:   to `configure.ac' and run `aclocal' and `autoconf'
> again.
> lib/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
> lib/Makefile.am:1:   its definition is in aclocal's search path.
> "

(LT_INIT is a synonym of AC_PROG_LIBTOOL.)

I presume your Automake and your Libtool are not installed below the
same prefix, thus aclocal doesn't find the Libtool macros to install.
One solution is to install both below the same prefix; or write a
dirlist file in $automake_prefix/share/aclocal with a line containing
$libtool_prefix/share/aclocal.

Or the error has a different reason, in which case please post output of
  autoreconf --verbose --install

Hope that helps.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]