Neither libtoolize nor glibtoolize could be found
Asked Answered
T

1

25

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.

Tyra answered 25/2, 2013 at 8:15 Comment(1)
Do you have libtool installed?Bisayas
M
41

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

Munger answered 12/3, 2014 at 17:58 Comment(3)
and on RedHat... yum install libtoolVacillating
libtool provides libtoolize, but what package provides glibtoolize?Featherstone
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.Underarm

© 2022 - 2024 — McMap. All rights reserved.