Unix Technical Forum

Re: PHP + SSH2

This is a discussion on Re: PHP + SSH2 within the lucky.openbsd.misc forums, part of the OpenBSD category; --> OK, I4m with this error: (./configure ) [ssh2] checking for libssh2_banner_set in -lssh2... no configure: error: libssh2 version >= ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2008, 07:50 AM
Vitor Acioli
 
Posts: n/a
Default Re: PHP + SSH2

OK,

I4m with this error: (./configure ) [ssh2]

checking for libssh2_banner_set in -lssh2... no
configure: error: libssh2 version >= 0.4 not found

...


2005/10/12, James F. Wilkus <james@mi5.gc8q.net>:
> Vitor Acioli said:
> > I am with some problems when trying to compile libssh2 in OpenBSD 3.7,
> >
> > Error:
> >
> > # make all install
> > gcc -o channel.o channel.c -c -g -O2 -I/usr/include -I/usr/include
> > -Wall -g -I../include/ -fPIC
> > In file included from channel.c:38:
> > ../include/libssh2_priv.h:206: error: `MD5_DIGEST_LENGTH' undeclared
> > here (not in a function)
> > ../include/libssh2_priv.h:209: error: `SHA_DIGEST_LENGTH' undeclared
> > here (not in a function)
> > *** Error code 1
> >
> > Stop in /root/libssh2-0.11/src (line 16 of Makefile).
> > *** Error code 1
> >
> > Stop in /root/libssh2-0.11 (line 20 of Makefile).
> > #

>
> You should include md5.h and sha1.h in libssh2_priv.h.
>
> e.g.
>
> #include <ssl/md5.h>
> #include <ssl/sha1.h>
>
> --
> :: url :: https://www.gc8q.net/~james/ ::
> :: key :: 0E5C801A ::
> :: fp :: 423D 7C46 7A45 D8D4 8C48 D2FE C060 AFB4 0E5C 801A ::
>
>
>



--
Vitor Acioli
Linux User #365713
E-mail: acioli@gmail.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:01 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com