[zeromq-dev] Problem with libtool --version in autogen.sh

Brian Granger ellisonbg at gmail.com
Sat Mar 13 03:35:05 CET 2010


I just grabbed the latest trunk and ran:

$ autogen.sh

Could not find libtool, libtool.m4 macro is probably not installed.

I tracked this down to this commit:


Where a the line:

libtool --version ....

was added to autogen.sh.

It turns out that Mac OS X has two libtools:

glibtool: GNU libtool.  This has the --version switch
libtool:  Apples version that does not have the --version switch

I don't know which is used in building zeromq, but it doesn work.
However, the line "libtool --version" does not
work on OS X.  One option would be to change this to "glibtool
--version" on OS X, but that might be confusing
as I am not sure the glibtool is the one being used for the build.

Commenting out the test for libtool in autogen.sh makes it all work though.



Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com

More information about the zeromq-dev mailing list