0

I can't find libtool command.I tried to run $man libtool,Terminal returned "No manual entry for libtool" So I tried to download libtool from GNU site and install it... Still I can't find the libtool command. Any help would be appreciated.

nbanic
  • 1,270
  • 1
  • 8
  • 11
Allamaprabhu
  • 845
  • 1
  • 7
  • 17
  • 1
    you also have to make sure /usr/bin as well as /usr/local/bin (for homebrew) is in your $PATH – Chris Aug 07 '13 at 07:50
  • @Chris:How to achieve that? – Allamaprabhu Aug 07 '13 at 07:52
  • if you run your application from the commandline, you can check what is inside the PATH variable, by calling "echo $PATH", you can probably find more information about how to setup your environment properly here: http://stackoverflow.com/questions/7501678/set-environment-variables-on-mac-os-x-lion – Chris Aug 09 '13 at 12:48

2 Answers2

3

If you actually successfully compiled libtool, did you do the following:

./configure --prefix=/usr
make
make install

I otherwise can highly recommend using homebrew to install any standard library that did not come with Mac OS X: http://brew.sh

After setting it up, you could install libtool by typing:

brew install libtool
Chris
  • 3,245
  • 4
  • 29
  • 53
  • 1
    `brew install libtool` installs `glibtools` on mac . building projects which use native libtools may throw a make error sometimes ! – saruftw Jan 09 '16 at 10:25
3

maybe this work I find my libtool within the following path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool

worrd
  • 31
  • 3
  • @word:Yea.I could able to locate most of commands at "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin" which were missing at "/usr/bin". – Allamaprabhu Aug 16 '13 at 08:10