fixing error: undefined macro: AC_PROG_LIBTOOL
May 17th, 2007 by Lawrence David
i was getting this error while trying to compile faad2:
configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
i made this error go away by install “libtool:”
$ sudo apt-get install libtool
Thanks! Exactly the error I was getting, all because of missing libtool. faad is a bitch to install!
Thanks!
configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /sw/bin/autoconf-2.59 failed with exit status: 1
thanks for giving solution….i was fighting with this error from one week..
Hi I am having the same problem however I do not have the apt-get tool installed on my server.
Is there another resolution to this problem?
Thanks
thanks, that fixed my building issue
Thanks
It save my previous time.
Regards,
Légion.
Thanks !
I just wanted install faad2(codecs) for ffmpeg,having the same problem !
It takes me nearly one hour ~~~~
Best Regards~
Yea Google! Ran into the same problem on Ubuntu 6.06 server. Thanks!
Awesome need to query
configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Many thanks. Worked for me.
————— EXPLANATION —————–
that’s right
to fix the error mentioned you need to install libtool
but that’s not all
it might happen that you have to install it from sources
in this case you MUST SPECIFY prefix for configure script:
./configure –prefix=/usr
otherwise you have to deal with paths somehow to make aoutoconf see your thirdparty macros, which libtool contains
PS/ took an hour to find it out myself
anyway thanx for giving a tip
Thanks! Exactly what was needed.
I much appreciate you taking time to post solutions!
–B
Exactly the problem I had (though on OpenSuse). Thanks!
Thanks!
Woohoo, thanks a lot, you save me man
brilliant – just the answer i needed! (Centos 5.2)
Very glad that I stumbled on your post. Your answer was helpful, thank you.
I’d like to say, however, that a “possibly undefined macro” doesn’t even *remotely* spell “you need libtool” to me.
One more reason I truly dislike automake/autoconf.
thx!!
Thx!! hit the exact issue!
Yabadabaduuuu !
Thanks a lot !
thnx for help
[...] able to fix it easily by installing libtool (in ubuntu: sudo apt-get install libtool -thanks to this site for the info) and then tried again and it worked fine. Now, this next step will separate [...]
I had the same problem while attempting to install faad2-2.7. Thank you for the solution.
The faad2 author should perform his own tests during installation and not reply on his users to find this post, if you ask me.
Ran into this problem while trying to install PET (http://wiki.delph-in.net/moin/PetTop). Your fix worked perfectly. Many thanks!
LOVE IT
Thanks, this was very helpful!
First google hit when searching for the same error and the fix is valid, so … bump to keep it in the first place
many thanks!
Thanks, fixed my problem too (while trying to install gPhoto from SVN)
thanks
Solved, same error WITH CyberlinkCC / UBUNTU 11.04 :
~/bin/CyberLinkCC$ ./bootstrap
configure.in:70: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
libtool install solved the issue.
thank you !
Getting this error all over the place jhbuild’ing gnome 3.4 I have libtool installed, so this isn’t the only problem.
Thank you so much – I ran into the same error when installing a rubygem (rbczmq)
configure.in:54: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:55: error: possibly undefined macro: AC_PROG_LIBTOOL
configure:5242: error: possibly undefined macro: AC_DISABLE_STATIC
configure:5246: error: possibly undefined macro: AC_ENABLE_STATIC
and this (well, I used brew install libtool) fixed it for me. I was in for hours more frustration without you!