Looks to me like you are missing OpenSSL headers. Install OpenSSL with
headers would be my suggestion.
Paul
On Wed, Dec 17, 2008 at 11:02 AM, David M. Funk <mf...@trinitysol.net>wrote:
> Folks,
>
>
>
> I am getting an error when I try to install libssh2-0.18 on my aix server.
> Anybody run into this? Any help will be much appreciated.
>
> I run ./configure and that works ok. But when I run "make" I get this
> error:
>
> r...@aix1/usr/opt/perl5/mods/libssh2-0.18-->
>
> #make
>
> Making all in src
>
> make all-am
>
> /bin/sh ../libtool --tag=CC --mode=link cc -qlanglvl=extc89 -g
> -I/usr/local/ssl/include -L/usr/local/ssl/lib -lcrypto -o libssh2.la-rpath
> /usr/local/lib -version-info 1:0:0 -no-undefined channel.lo comp.lo
> crypt.lo hostkey.lo kex.lo mac.lo misc.lo packet.lo publickey.lo scp.lo
> session.lo sftp.lo userauth.lo pem.lo transport.lo openssl.lo
>
> rm -fr .libs/libssh2.exp
>
> generating symbol list for `libssh2.la'
>
> /usr/bin/nm -B -BCpg .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/pem.o .libs/transport.o .libs/openssl.o | awk '{ if ((($2 == "T") ||
> ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
> sort -u > .libs/libssh2.exp
>
> cc -qlanglvl=extc89 -Wl,-bM:SRE -o .libs/libssh2.so.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/pem.o .libs/transport.o .libs/openssl.o
> -L/usr/local/ssl/lib -lcrypto -lc -Wl,-bnoentry -qlanglvl=extc89
> -Wl,-bE:.libs/libssh2.exp ${wl}-bernotok
>
> ld: 0711-317 ERROR: Undefined symbol: .RAND_bytes
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_CTX_new
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_new
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_rand
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_mod_exp
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_num_bits
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_bn2bin
>
> ld: 0711-317 ERROR: Undefined symbol: .MD5_Init
>
> ld: 0711-317 ERROR: Undefined symbol: .MD5_Update
>
> ld: 0711-317 ERROR: Undefined symbol: .MD5_Final
>
> ld: 0711-317 ERROR: Undefined symbol: .SHA1_Init
>
> ld: 0711-317 ERROR: Undefined symbol: .SHA1_Update
>
> ld: 0711-317 ERROR: Undefined symbol: .SHA1_Final
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_bin2bn
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_clear_free
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_CTX_free
>
> ld: 0711-317 ERROR: Undefined symbol: .RSA_new
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_get_cipherbyname
>
> ld: 0711-317 ERROR: Undefined symbol: .OpenSSL_add_all_ciphers
>
> ld: 0711-317 ERROR: Undefined symbol: .PEM_read_RSAPrivateKey
>
> ld: 0711-317 ERROR: Undefined symbol: .SHA1
>
> ld: 0711-317 ERROR: Undefined symbol: .RSA_verify
>
> ld: 0711-317 ERROR: Undefined symbol: .RSA_size
>
> ld: 0711-317 ERROR: Undefined symbol: .RSA_sign
>
> ld: 0711-317 ERROR: Undefined symbol: .DSA_new
>
> ld: 0711-317 ERROR: Undefined symbol: .PEM_read_DSAPrivateKey
>
> ld: 0711-317 ERROR: Undefined symbol: .DSA_do_verify
>
> ld: 0711-317 ERROR: Undefined symbol: .DSA_do_sign
>
> ld: 0711-317 ERROR: Undefined symbol: .DSA_SIG_free
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_CIPHER_CTX_init
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_CipherInit
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_Cipher
>
> ld: 0711-317 ERROR: Undefined symbol: .RSA_free
>
> ld: 0711-317 ERROR: Undefined symbol: .DSA_free
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_CIPHER_CTX_cleanup
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_des_ede3_cbc
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_cast5_cbc
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_rc4
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_bf_cbc
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_aes_256_cbc
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_aes_192_cbc
>
> ld: 0711-317 ERROR: Undefined symbol: EVP_aes_128_cbc
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_ripemd160
>
> ld: 0711-317 ERROR: Undefined symbol: .HMAC_Init
>
> ld: 0711-317 ERROR: Undefined symbol: .HMAC_Update
>
> ld: 0711-317 ERROR: Undefined symbol: .HMAC_Final
>
> ld: 0711-317 ERROR: Undefined symbol: .HMAC_CTX_cleanup
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_sha1
>
> ld: 0711-317 ERROR: Undefined symbol: .EVP_md5
>
> ld: 0711-317 ERROR: Undefined symbol: .BN_set_word
>
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
>
> make: 1254-004 The error code from the last command is 8.
>
>
>
>
>
> Stop.
>
> make: 1254-004 The error code from the last command is 2.
>
>
>
>
>
> Stop.
>
> make: 1254-004 The error code from the last command is 1.
>
>
>
>
>
> Stop.
>
> root@ aix1/usr/opt/perl5/mods/libssh2-0.18-->
>
>
>
> David M. Funk
> President/CEO
>
> Tivoli Certified Enterprise Consultant
> *Specializing in Network and Systems Management Solutions*
>
>
>
> Trinity Solutions
> 604 Cassandra Dr.
> Cranberry Twp., PA 16066
>
> Phone: 724-316-0721
> Fax: 724-772-7889
> email: mf...@trinityitsolutions.com <mf...@trinitysol.net>
> www: http://www.trinityITsolutions.com
>
>
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> libssh2-devel mailing list
> libssh2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libssh2-devel
>
>
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel