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

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

问题描述

我想使用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.

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

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