Could not find libtoolize, although I installed libtool on OSX Yosimite

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

I am trying to install libtoolize with this command:

brew install libtoolize

But the terminal always shows:

Error: no formula available for libtoolize

If I try to install, the terminal will show:

Could not find libtoolize. Install libtool.

Can anybody help?

+4
source share
2 answers

libtool

brew install libtool

libtoolize,

brew list libtool

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

, . ./configure script, , glibtoolize. , libtool Homebrew:

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

glibtoolize libtoolize.

ln -s `which glibtoolize` libtoolize

export PATH=$(pwd):$PATH

libtoolize.

+7

, Linphone android / . Autotools mac, .

 # Assume we want to install them below $HOME/local.
 myprefix=$HOME/local

 # Ensure the tools are accessible from PATH.
 # It is advisable to set this also in ~/.profile, for development.
 PATH=$myprefix/bin:$PATH
 export PATH

 # Do the following in a scratch directory.
 wget http://ftp.gnu.org/gnu/m4/m4-1.4.14.tar.gz
 wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.64.tar.gz
 wget http://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.gz
 wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz
 gzip -dc m4-1.4.14.tar.gz | tar xvf -
 gzip -dc autoconf-2.64.tar.gz | tar xvf -
 gzip -dc automake-1.11.1.tar.gz | tar xvf -
 gzip -dc libtool-2.4.tar.gz | tar xvf -
 cd m4-1.4.14
 ./configure -C --prefix=$myprefix && make && make install
 cd ../autoconf-2.64
 ./configure -C --prefix=$myprefix && make && make install
 cd ../automake-1.11.1
 ./configure -C --prefix=$myprefix && make && make install
 cd ../libtool-2.4
 ./configure -C --prefix=$myprefix && make && make install 
0

Source: https://habr.com/ru/post/1598850/


All Articles