Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install libtools on mac

Tags:

macos

I wanted to installs libtools on mac. I went to the apple developer site and downloaded the .dgm that downloaded the cmdline tools for Xcode for Mountain Lion.

But when I go to terminal and type libtools it says that the bash command is not found.

Could someone please tell me how to install libtools on mac.

like image 252
anotherCoder Avatar asked Aug 23 '12 13:08

anotherCoder


People also ask

What is Linux libtool?

GNU Libtool is a generic library support script that hides the complexity of using shared libraries behind a consistent, portable interface. To use Libtool, add the new generic library building commands to your Makefile, Makefile.in, or Makefile.am. See the documentation for details.


2 Answers

If you installed brew like this

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

You can just write in terminal

brew install libtool
like image 126
CodingYourLife Avatar answered Nov 12 '22 03:11

CodingYourLife


Note that libtool is called glibtool on OSX:

This tool is installed in OS X as glibtool to avoid a name conflict with NeXT libtool.

Source: https://developer.apple.com/library/mac/documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html#//apple_ref/doc/uid/TP40002850-SW5

like image 42
Jonathan Cross Avatar answered Nov 12 '22 03:11

Jonathan Cross