Archive Index
This month's Index
|
Subject: RE: A compiling error
RE: A compiling error
From: CHEN Xiaolei A <Xiaolei.a.Chen_at_alcatel-sbell.com.cn>
Date: Wed, 6 May 2009 16:03:51 +0800
the version of open_SSL is: openssl-0.9.8k;
________________________________
From: CHEN Xiaolei A
Hi everyone,
Nice to meet you. I downloaded libssh2-1.1 source code, and plan to install it on Sun solaris 10. but an error occurred when running command "make", the description like below:
(1) I installed OpenSSL under my home directory: $HOME/Open_SSL
(2) made configuration like this: configure --prefix=$HOME/Lib_SSH --with-libssl-prefix=$HOME/Open_SSL
an error will occur when running make:
gcc -shared -Wl,-M -Wl,.libs/libssh2.so.1.0.1.exp -Wl,-h -Wl,libssh2.so.1 -o .libs/libssh2.so.1.0.1 .libs/channel.o .libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/userauth.o .libs/transport.o .libs/version.o .libs/openssl.o -L/home/xiaolech/Open_SSL/lib -lssl -lcrypto -lz -lnsl -lsocket -lc
unknown> 0x90 /home/xiaolech/Open_SSL/lib/libcrypto.a(x_name.o)
I tried the gcc command manually, if i delete "-lcrypto", then no error. But I don't know how to resolve this issue using "configure" command.
Could you help me? Thanks a lot!
Regards,
Atlantis
------------------------------------------------------------------------------
_______________________________________________
|