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.

share|improve this question
1  
Do you have libtool installed? – Johnsyweb Feb 25 '13 at 8:18

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

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.