Net-SSH2 - library error

Posted on Tue Nov 6 16:48:02 2007 by parun
library error
Hi I have installed libSSH2 thats required by SSH2. when trying to use via the example i get the following example:
:/libssh2-0.16/example/simple>make make all-am /bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -I/tmp/pm/openssl-0.9.8f/include -I/usr/include -L/tmp/pm/openssl-0.9.8f/lib -lcrypto -L/usr/lib -lz -o ssh2 ssh2.o ../../src/libssh2.la -lnsl -lsocket gcc -g -O2 -I/tmp/pm/openssl-0.9.8f/include -I/usr/include -o .libs/ssh2 ssh2.o -L/tmp/pm/openssl-0.9.8f/lib -L/usr/lib ../../src/.libs/libssh2.so -lcrypto -lz -lnsl -lsocket -R/tmp/pm/libssh2-0.16/lib Undefined first referenced symbol in file EVP_aes_192_cbc ../../src/.libs/libssh2.so EVP_Cipher ../../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 make: Fatal error: Command failed for target `ssh2' Current working directory /tmp/pm/libssh2-0.16/example/simple *** Error code 1 make: Fatal error: Command failed for target `all'
please do let me know how to resolve this. thanks
Direct Responses: 6437 | Write a response