Subject: Re: [libssh2] libssh2 - Fatal Error During Make

Re: [libssh2] libssh2 - Fatal Error During Make

From: Mononen Jussi <Jussi.Mononen_at_comptel.com>
Date: Thu, 28 Aug 2008 13:51:58 +0300

> Hi,
> I am using Solaris 10 on X86 platform. I have installed
> coolstack from Sun that includes Apache, PHP and MySQL.
>
> Now I need to enable ssh2 support in the same. For the same,
> I need to installed libphp2 on my server.
>
> I ran ./configure && make all install and got some fatal
> errors. I gave /usr/
>
> Please let me know if I am missing something. I have even
> tried with upgrading my gcc.
>
> gcc -g -O2 -I/usr/sfw/include -I/usr/local/include -o
> .libs/ssh2 ssh2.o -L/usr/sfw/lib -L/usr/local/lib
> ../../src/.libs/libssh2.so -lssl -lcrypto -ldl -lz -lnsl
> -lsocket -R/usr/local/lib -R/usr/sfw/lib
> Undefined first referenced
> symbol in file
> EVP_aes_192_cbc ../../src/.libs/libssh2.so
> EVP_aes_256_cbc ../../src/.libs/libssh2.so
> ld: fatal: Symbol referencing errors. No output written to .libs/ssh2
> collect2: ld returned 1 exit status
> *** Error code 1

Hi,

Solaris 10's libcrypto does not support the above mentioned functions by
default. You could install extra crypto packages (SUNWcry, SUNWcryr) but
you could try to download and install OpenSSL and use its libcrypto
instead of the default.

Br,

/jUSSi

--
perl -e '$@=[[0,0112,0,0],[0,0101,0,0],
[0,0120,0,0],[0,0110,0,0]];$[=256/8-0x1D;
print(chr(@{$_}[+($[+1-1+1)]))for(@{$@});' 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2008-08-28