From owner-freebsd-questions@FreeBSD.ORG Sat Jun 30 15:17:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFFE616A400 for ; Sat, 30 Jun 2007 15:17:04 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 6034C13C469 for ; Sat, 30 Jun 2007 15:17:03 +0000 (UTC) (envelope-from florenzi@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so582331uge for ; Sat, 30 Jun 2007 08:17:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dJuftXiPJeSadfYAIwXq/7m3L7p8ifAy553PEZsUGJ9Tr5tqgS0ij5eRJjo5koxl8zOmnfmHqzv+zPBE7dLaFY3WsuBycEDbi64OlCJAVqYRIV+70ieDLvKFvwcQChfyxtQ4lJ4tyenr1V3pC8QmlxZEMQtNdm4RglMD8X6AImk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MMawPv4+mx6ETGqQ5Nc44nW2OcBlnHxr4q7VhoKIinhDqRatZhkXiCD2TRHLNMRJzz5mZkU8nVI9rt8Z5urziia0KB9QNScwI0yi/koanNrDWpltz429U4+jqTXSsuGWnP1ZRbLgJIxzHrXZ81rhAgqR4REUkxmfXvuE93LpPaM= Received: by 10.78.107.8 with SMTP id f8mr2130279huc.1183216622215; Sat, 30 Jun 2007 08:17:02 -0700 (PDT) Received: by 10.78.45.17 with HTTP; Sat, 30 Jun 2007 08:17:02 -0700 (PDT) Message-ID: <3a386af20706300817h5f962ba8xeb1ccedc34fb9946@mail.gmail.com> Date: Sat, 30 Jun 2007 17:17:02 +0200 From: "Federico Lorenzi" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: (Solution) Libtool library used but `LIBTOOL' is undefined X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 15:17:04 -0000 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