使用了Libtool库,但未定义“ LIBTOOL”吗? [英] Libtool library used but `LIBTOOL' is undefined?

查看:554
本文介绍了使用了Libtool库,但未定义“ LIBTOOL”吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在服务器上安装ffmpeg。我不喜欢centos 5。

Im trying to install ffmpeg on my server. Im unsing centos 5.

当我尝试安装libfdk_aac时出现以下错误

When I try to install libfdk_aac I get the following error

` autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
Makefile.am:31: Libtool library used but `LIBTOOL' is undefined
Makefile.am:31:
Makefile.am:31: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:31: to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'
autoreconf: automake failed with exit status: 1 ` 

如果我键入哪个libtool,我会得到/ usr / bin / libtool,因此我认为已安装libtool。
所以我不确定为什么会发生此错误。

If i type which libtool I get /usr/bin/libtool, so i think libtool is installed. So im not sure why this error is happening.

感谢任何建议

推荐答案

该错误告诉您未安装 libtool ,或者未在 configure中进行检查。 ac 。在 configure.ac 中添加行 LT_INIT 。如果 autoreconf 然后抱怨它不知道 LT_INIT 是什么,则应该安装libtool,升级安装libtool或在configure.ac中使用不建议使用的 AC_PROG_LIBTOOL 。 (在较新的项目中,应将 AC_PROG_LIBTOOL 替换为 LT_INIT 。)

The error is telling you that either libtool is not installed, or that you are not checking for it in configure.ac. Add the line LT_INIT in configure.ac. If autoreconf then complains that it doesn't know what LT_INIT is, you should either install libtool, upgrade your installation of libtool or use the deprecated AC_PROG_LIBTOOL in configure.ac. (AC_PROG_LIBTOOL should be replaced by LT_INIT in newer projects.)

这篇关于使用了Libtool库,但未定义“ LIBTOOL”吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆