Subject: Help - build libssh2

Help - build libssh2

From: Yelin Chen <ychen_at_caci.com>
Date: Fri, 12 Feb 2010 18:49:48 -0500

Dear Sir/Madam,

I've just downloaded libssh2.1-2.2.tar.gz from http://www.libssh2.org to build it on Sun T5120 server running open Solaris 10 (u6). This lib is required by my perl NET::SSH2 installation. Following instruction in the INSTALL file, I successfully ran the first command, 'configure CC=/usr/sfw/bin/gcc', however, got errors in the second command, 'gmake' as follows:

gmake[2]: Entering directory `/export/home/achen/perl/SSH2_dependency/libssh2-1.2.2/example/simple'
/bin/bash ../../libtool --tag=CC --mode=link /usr/sfw/bin/gcc -g -O2 -o ssh2 ssh2.o ../../src/libssh2.la -lnsl -lsocket
libtool: link: /usr/sfw/bin/gcc -g -O2 -o .libs/ssh2 ssh2.o ../../src/.libs/libssh2.so -lssl -lcrypto -lz -lnsl -lsocket -R/usr/local/lib
Undefined first referenced
 symbol in file
EVP_aes_192_cbc ../../src/.libs/libssh2.so
EVP_aes_256_cbc ../../src/.libs/libssh2.so

Couldn't figure out where to find EVP_aes_192_cbc, EVP_aes_256_cbc definition. Any suggestion?
Note that I'm running with the compilation environment:

PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/ucb:/bin:/etc:/usr/perl5/5.8.4/bin:/usr/local/bin:/usr/sfw/bin:.
LD_LIBRARY_PATH=/ usr/openwin/lib:/usr/db/lib:/usr/sfw/lib:/usr/sfw/lib/sparcv9/libgcc_s.so.1

Please kindly lend me a hand with this issue. Appreciate your help.

Yelin.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-13