I have a shell script autogen.sh, I run it under my project directory in terminal:


I get error:

Can't exec "glibtoolize": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 345, line 4.

Then, seems it can not find glibtoolize, so I tried to figure out where is my glibtoolize. Eventually, I find it is in this path:


Then, I get stuck, how to solve my problem after I found my glibtoolize?

3 Answers 3


Looks like you already have libtool installed via brew but it is not linked so the required symlinks in /usr/local/bin are still missing. To create them,

brew link libtool

I ran into multiple problem while downloading protobuf. Try

brew install libtool

I had the same problem after adding glibtoolize to the PATH variable it worked.

export PATH
  • This just sets the path, which doesn't link anything.
    – nohillside
    Oct 27, 2014 at 14:46
  • Ja, that is true, I changed my answer. In any case this solved my problem, as brew somehow did not make glibtoolize globally available. Oct 28, 2014 at 15:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .