Aclocal and libtool error -- macro `AM_PROG_LIBTOOL' not found in library


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Aclocal and libtool error -- macro `AM_PROG_LIBTOOL' not found in library
# 1  
Old 02-19-2014
Aclocal and libtool error -- macro `AM_PROG_LIBTOOL' not found in library

The software I'm trying to install uses macros with autoconf, aclocal, libtool, autoheader, and automake. What seems to be going on is an error between libtool and aclocal. From what I understand when I run aclocal, which is in /usr/bin, it searches a different directory for the libtool.m4 which is in /home/bh/libtool/share/aclocal.

I read somewhere that if I put

export ACLOCAL_FLAGS="-I /home/bh/libtool/share/aclocal"

in my .bashrc aclocal would grab the correct .m4 file.

No luck. I still get the warning: macro `AM_PROG_LIBTOOL' not found in library. I don't have administrative or sudo privileges to change anything outside of my local account.

Does anyone know how I can link these two together so my libtool.m4 file is found?

I am a newbie, so if you could explain what the code means in detail I would really appreciate it.

Thanks!

Linux master 2.6.31-23-server #74-Ubuntu SMP
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Using autoconf and automake. aclocal-1.11: command not found

Hi, I'm trying to make my source "buildable". autoconf and automake tools are used. configure and Makefile.in files are created successfully. configure.ac: AC_INIT() AC_CONFIG_SRCDIR() AC_PROG_CXX AM_INIT_AUTOMAKE(main, 0.1) AC_CHECK_HEADERS()... (0 Replies)
Discussion started by: Vourhey
0 Replies

2. AIX

AIX collect2: library libgcc_s not found

Hi, M/c- aix 5.3 I want to install expat-2.0.1. When run the make command it gives the error.. collect2: library libgcc_s not found make: The error code from the last command is 1. Stop. Thanks (7 Replies)
Discussion started by: tukuna82
7 Replies

3. UNIX for Advanced & Expert Users

Is aclocal.m4 generic?

can we copy higher version aclocal to our software. Is there any good book for automake,aclocal.m4,configure.sub,configure.guess that explains clearly about how they are related , how to modify them etc Thanks Gopi (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

4. Programming

Make-question - redefine a macro, using another macro..?

I think there is no problem to use any macro in a new macro definishion, but I have a problem with that. I can not understand why? I have a *.mak file that inludes file with many definitions and rules. ############################################## include dstndflt.mak ... One of the... (2 Replies)
Discussion started by: alex_5161
2 Replies

5. Solaris

ld: fatal: library -ltli: not found

Hi, I am on the following version: SunOS e105 5.8 Generic_117350-26 sun4u sparc SUNW,Sun-Fire-15000 I am running a makefile to build some Tuxedo servers. Following is a snippet of my output: BS-550.c: /home/sybase/sybase12/OCS-12_EBF10731/include/sybesql.c: ld: fatal: library... (0 Replies)
Discussion started by: vaibhav276
0 Replies

6. Programming

shared library not found

Hello, On a Centos 5.0 box, I have two versions of a library (sqlite): (1) in /usr/lib that was installed using yum (maybe from php but I am not really sure) (2) in /usr/local/lib that I installed myself by compiling from the source code. My C++ program contains the following lines: ... (12 Replies)
Discussion started by: JCR
12 Replies

7. Programming

library not found error

We are trying to execute C/C++ programs in SOlaris 8. Though the exes are compiled in g++, we donot have it installed in the target machine. We have the library files in the target machine and LD_LIBRARY_PATH is set correctly. Now when the exes are run, we are getting the error $ seq ld.so.1:... (1 Reply)
Discussion started by: virtual_j
1 Replies

8. UNIX for Dummies Questions & Answers

.netrc -- macro not found error

Hi! Can you please advise if it is possible to have a .netrc file containing a login account for two different ftp servers and two diff macdef commands, and run the a specific macdef depending on the server? I have copied part of the netrc file. machine ftp1 login acct1 password... (2 Replies)
Discussion started by: edu_escandor
2 Replies
Login or Register to Ask a Question
ACLOCAL(1)							   User Commands							ACLOCAL(1)

NAME
aclocal - manual page for aclocal 1.13.4 SYNOPSIS
aclocal [OPTION]... DESCRIPTION
Generate 'aclocal.m4' by scanning 'configure.ac' or 'configure.in' OPTIONS
--automake-acdir=DIR directory holding automake-provided m4 files --system-acdir=DIR directory holding third-party system-wide files --diff[=COMMAND] run COMMAND [diff -u] on M4 files that would be changed (implies --install and --dry-run) --dry-run pretend to, but do not actually update any file --force always update output file --help print this help, then exit -I DIR add directory to search list for .m4 files --install copy third-party files to the first -I directory --output=FILE put output in FILE (default aclocal.m4) --print-ac-dir print name of directory holding system-wide third-party m4 files, then exit --verbose don't be silent --version print version number, then exit -W, --warnings=CATEGORY report the warnings falling in CATEGORY Warning categories include: syntax dubious syntactic constructs (default) unsupported unknown macros (default) all all the warnings (default) no-CATEGORY turn off warnings in CATEGORY none turn off all the warnings error treat warnings as errors AUTHOR
Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>. REPORTING BUGS
Report bugs to <bug-automake@gnu.org>. GNU Automake home page: <http://www.gnu.org/software/automake/>. General help using GNU software: <http://www.gnu.org/gethelp/>. COPYRIGHT
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for aclocal is maintained as a Texinfo manual. If the info and aclocal programs are properly installed at your site, the command info aclocal should give you access to the complete manual. aclocal 1.13.4 June 2014 ACLOCAL(1)