21

I'm trying to compile a .cpp file but I must install libssh2. I have downloaded the package from libssh2.org and when I enter: ./buildconf I'm getting:

Neither libtoolize nor glibtoolize could be found!

I don't know what to do, I have included in the header libssh2.h ( #include ) and also the file does exists in the same folder where I have the source file what I'm trying to compile.

Zbarcea Christian
  • 8,320
  • 16
  • 74
  • 124

1 Answers1

28

It is provided by the package libtool.

On Ubuntu you'd simply

sudo apt-get install libtool

see also http://manpages.ubuntu.com/manpages/dapper/man1/libtoolize.1.html

jesper
  • 426
  • 5
  • 4
  • and on RedHat... yum install libtool – Pancho May 30 '15 at 12:45
  • libtool provides libtoolize, but what package provides glibtoolize? – knocte Feb 13 '16 at 11:21
  • When Homebrew installs libtool on a system that already has libtool (MacOS 10.12, Sierra, in my case), it installs to /usr/local/Cellar/libtool en prepends the existing installation with a 'g'. Thus, weirdly, one ends up with /usr/local/glibtool en /usr/local/glibtoolize. When avrdude's ./bootstrip could not find libtoolize, changing the command to glibtoolize solved to problem. – Elise van Looij Sep 19 '17 at 20:24