How do I resolve an error about AM_PROG_LIBTOOL when building libopus from git?

25

3

I've downloaded libopus from git and tried to build it, however I get,

Updating build configuration files, please wait....
configure.ac:38: warning: macro 'AM_PROG_LIBTOOL' not found in library
configure.ac:38: error: possibly undefined macro: AM_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

How do I resolve this error?

Evan Carroll

Posted 2013-10-02T04:25:33.240

Reputation: 1

Answers

40

You need to install libtool, which provides the necessary macros. On Ubuntu,

apt-get install libtool

Evan Carroll

Posted 2013-10-02T04:25:33.240

Reputation: 1

2This resolved the exact same problem for me while running FreeBSD. Thanks! – ebrious – 2015-02-06T01:26:54.367