6

When I'm trying to build Apache Thrift source in cygwin, I'm getting error saying "Couldn't find libtoolize!". How can I install libtoolize in cygwin?

Chamila Wijayarathna
  • 1,815
  • 5
  • 30
  • 54

3 Answers3

13

You will need GNU M4 1.4.6 or later to install LibTool (which includes libtoolize).

Good news is that you can easily do it if you run the Cygwin installer (no worries, it will keep your Cygwin installation and add new packages if you select them). So all you need to do is to click on the following buttons:

GNU M4 installation

enter image description here

LibTool installation

enter image description here

Benny Code
  • 51,456
  • 28
  • 233
  • 198
8

'libtoolize' is a part of libtool. You can dowload latest version of libtool from http://ftp.gnu.org/gnu/libtool/, extract it, then run ./configure and make install from cygwin terminal.

Chamila Wijayarathna
  • 1,815
  • 5
  • 30
  • 54
  • 1
    You will also need GNU M4 1.4.6 or later to install libtool-2.4.6 and above. So make sure in your Cygwin installer that you select the "m4" package from the "Interpreters" section. – Benny Code Oct 07 '15 at 13:07
0

Use this:

python -mpip get-install libtoolize
Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
  • The provided answer was flagged for review as a Low Quality Post. Here are some guidelines for [How do I write a good answer?](https://stackoverflow.com/help/how-to-answer). This provided answer could benefit from an explanation. Code only answers are not considered "good" answers. From Review. – Trenton McKinney Aug 08 '20 at 06:20