找不到 libtoolize,即使我在 OSX Yosimite 中安装了 libtool [英] Couldn't find libtoolize, even though I have installed libtool in OSX Yosimite

查看:83
本文介绍了找不到 libtoolize,即使我在 OSX Yosimite 中安装了 libtool的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Make install 命令,并且我已经安装了所有要求,如 yasm、nasm、curl、ant、rsync 和自动工具:autoconf、automake、aclocal、pkgconfig、libtool.(确切地说,我想从这里编译 Linphone Android NDK:https://github.com/BelledonneCommunications/linphone-android.我已经按照那里的所有步骤操作)

I want to use Make install command and I have installed all requirements like yasm, nasm, curl, ant, rsync and the autotools: autoconf, automake, aclocal, pkgconfig, libtool. (Exactly, I want to compile Linphone Android NDK from Here : https://github.com/BelledonneCommunications/linphone-android. I have follow all steps from there)

我尝试使用以下命令安装 libtoolize:

I have try to install libtoolize using this command:

brew install libtoolize

但终端总是显示:

错误:libtoolize 没有可用的公式

Error: No available formula for libtoolize

如果我尝试进行安装,终端将显示:

If i try to make install, terminal will show :

找不到 libtoolize.请安装libtool.

Could not find libtoolize. Please install libtool.

有人可以帮忙吗?

推荐答案

你应该通过

brew install libtool

这个包包含工具libtoolize,你可以通过

This package contains the tool libtoolize as you can check via

brew list libtool

注意警告

In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.

您可以再次尝试安装您想要的工具.如果带有./configure 脚本,重新执行它让它找到glibtoolize.如果这不起作用,您可能需要将环境变量 LIBTOOL 设置为 Homebrew 安装的版本:

You may try again installing the tools you want to. If the come with a ./configure script, re-execute it to let it find glibtoolize. If this does not work, you may need to set the environment variable LIBTOOL to the version Homebrew installed:

export LIBTOOL=`which glibtool`
export LIBTOOLIZE=`which glibtoolize`

作为最后的手段,您可能需要设置从 glibtoolizelibtoolize 的符号链接.您可以通过

As a last resort, you may need to set a symbolic link from glibtoolize to libtoolize. You can do so via

ln -s `which glibtoolize` libtoolize

然后,将带有链接的目录添加到路径

Then, add the directory with the link to the path by

export PATH=$(pwd):$PATH

然后,应该可以找到libtoolize.

这篇关于找不到 libtoolize,即使我在 OSX Yosimite 中安装了 libtool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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