perl : 5.8.1
[EMAIL PROTECTED] Crypt-SSLeay-0.51 [2:126] /usr/local/bin/perl Makefile.PL
No OpenSSL installation found, usually in /usr/local/openssl
Which OpenSSL build path do you want to link against? /usr/local/apps/openssl-0.9.7c
================================================ BUILD INFORMATION ================================================
ssl dir: /usr/local/apps/openssl-0.9.7c
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /usr/local/apps/openssl-0.9.7c/include
ssl header: openssl/ssl.h
ssl candidate: /usr/local/apps/openssl-0.9.7c; /usr/local/apps/openssl-0.9.7c/include/openssl; OpenSSL 0.9.7
================================================
Note (probably harmless): No library found for -lgcc Note (probably harmless): No library found for -lRSAglue Note (probably harmless): No library found for -lrsaref Writing Makefile for Crypt::SSLeay [EMAIL PROTECTED] Crypt-SSLeay-0.51 [2:127]
Hope above notes are really not harmfull
[EMAIL PROTECTED] Crypt-SSLeay-0.51 [2:127] make
/opt/SUNWspro/bin/cc -c -I/usr/local/apps/openssl-0.9.7c/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -KPIC "-I/usr/local/apps/perl-5.8.1/lib/5.8.1/i86pc-solaris/CORE" SSLeay.c
"SSLeay.xs", line 252: warning: argument #2 is incompatible with prototype:
prototype: pointer to function(pointer to const struct ssl_st {int version, int type, pointer to struct ssl_method_st {..} method, pointer to struct bio_st {..} rbio, pointer to struct bio_st {..} wbio, pointer to struct bio_st {..} bbio, int rwstate, int in_handshake, pointer to function() returning int handshake_func, int server, int new_session, int quiet_shutdown, int shutdown, int state, int rstate, pointer to struct buf_mem_st {..} init_buf, pointer to void init_msg, int init_num, int init_off, pointer to unsigned char packet, unsigned int packet_length, pointer to struct ssl2_state_st {..} s2, pointer to struct ssl3_state_st {..} s3, int read_ahead, pointer to function(int, int, int, pointer to const void, unsigned int, pointer to struct ssl_st {..}, pointer to void) returning void msg_callback, pointer to void msg_callback_arg, int hit, int purpose, int trust, pointer to struct stack_st {..} cipher_list, pointer to struct stack_st {..} cipher_list_by_id, pointer to struct evp_cipher_ctx_st {..} enc_read_ctx, pointer to const struct env_md_st {..} read_hash, pointer to struct comp_ctx_st {..} expand, pointer to struct evp_cipher_ctx_st {..} enc_write_ctx, pointer to const struct env_md_st {..} write_hash, pointer to struct comp_ctx_st {..} compress, pointer to struct cert_st {..} cert, unsigned int sid_ctx_length, array[32] of unsigned char sid_ctx, pointer to struct ssl_session_st {..} session, pointer to function(pointer to const struct ssl_st {..}, pointer to unsigned char, pointer to unsigned int) returning int generate_session_id, int verify_mode, int verify_depth, pointer to function(int, pointer to struct x509_store_ctx_st {..}) returning int verify_callback, pointer to function(pointer to const struct ssl_st {..}, int, int) returning void info_callback, int error, int error_code, pointer to struct ssl_ctx_st {..} ctx, int debug, long verify_result, struct crypto_ex_data_st {..} ex_data, pointer to struct stack_st {..} client_CA, int references, unsigned long options, unsigned long mode, long max_cert_list, int first_packet, int client_version}, int, int) returning void : "/usr/local/apps/openssl-0.9.7c/include/openssl/ssl.h", line 1396
argument : pointer to function(pointer to struct ssl_st {int version, int type, pointer to struct ssl_method_st {..} method, pointer to struct bio_st {..} rbio, pointer to struct bio_st {..} wbio, pointer to struct bio_st {..} bbio, int rwstate, int in_handshake, pointer to function() returning int handshake_func, int server, int new_session, int quiet_shutdown, int shutdown, int state, int rstate, pointer to struct buf_mem_st {..} init_buf, pointer to void init_msg, int init_num, int init_off, pointer to unsigned char packet, unsigned int packet_length, pointer to struct ssl2_state_st {..} s2, pointer to struct ssl3_state_st {..} s3, int read_ahead, pointer to function(int, int, int, pointer to const void, unsigned int, pointer to struct ssl_st {..}, pointer to void) returning void msg_callback, pointer to void msg_callback_arg, int hit, int purpose, int trust, pointer to struct stack_st {..} cipher_list, pointer to struct stack_st {..} cipher_list_by_id, pointer to struct evp_cipher_ctx_st {..} enc_read_ctx, pointer to const struct env_md_st {..} read_hash, pointer to struct comp_ctx_st {..} expand, pointer to struct evp_cipher_ctx_st {..} enc_write_ctx, pointer to const struct env_md_st {..} write_hash, pointer to struct comp_ctx_st {..} compress, pointer to struct cert_st {..} cert, unsigned int sid_ctx_length, array[32] of unsigned char sid_ctx, pointer to struct ssl_session_st {..} session, pointer to function(pointer to const struct ssl_st {..}, pointer to unsigned char, pointer to unsigned int) returning int generate_session_id, int verify_mode, int verify_depth, pointer to function(int, pointer to struct x509_store_ctx_st {..}) returning int verify_callback, pointer to function(pointer to const struct ssl_st {..}, int, int) returning void info_callback, int error, int error_code, pointer to struct ssl_ctx_st {..} ctx, int debug, long verify_result, struct crypto_ex_data_st {..} ex_data, pointer to struct stack_st {..} client_CA, int references, unsigned long options, unsigned long mode, long max_cert_list, int first_packet, int client_version}, int, int) returning void
Running Mkbootstrap for Crypt::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.so
LD_RUN_PATH="" /opt/SUNWspro/bin/cc -G -z ignore -z lazyload -z combreloc -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib -L/usr/local/lib SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.so -L/usr/local/apps/openssl-0.9.7c/lib -lssl -lcrypto chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.so
cp SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Crypt/SSLeay/SSLeay.bs
Manifying blib/man3/Crypt::SSLeay.3
[EMAIL PROTECTED] Crypt-SSLeay-0.51 [2:128]
[EMAIL PROTECTED] Crypt-SSLeay-0.51 [2:128] make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/net_ssl........Can't load '/mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/arch/auto/Crypt/SSLeay/SSLeay.so ' for module Crypt::SSLeay: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file /mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/arch/auto/Crypt/SSLeay/SSLeay.so: symbol __umoddi3: referenced symbol not found at /usr/local/apps/perl-5.8.1/lib/5.8.1/i86pc-solaris/DynaLoader.pm line 229.
at lib/Net/SSL.pm line 16
Compilation failed in require at lib/Net/SSL.pm line 16.
Compilation failed in require at t/net_ssl.t line 5.
BEGIN failed--compilation aborted at t/net_ssl.t line 5.
t/net_ssl........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/ssl_context....Can't load '/mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file /mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/arch/auto/Crypt/SSLeay/SSLeay.so: symbol __umoddi3: referenced symbol not found at /usr/local/apps/perl-5.8.1/lib/5.8.1/i86pc-solaris/DynaLoader.pm line 229.
at /mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/lib/Crypt/SSLeay/CTX.pm line 2
Compilation failed in require at /mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/lib/Crypt/SSLeay/CTX.pm line 2.
Compilation failed in require at /mount/autofs/home_tech/vinita/.cpan/build/Crypt-SSLeay-0.51/blib/lib/Crypt/SSLeay/MainContext.pm line 8.
Compilation failed in require at t/ssl_context.t line 3.
BEGIN failed--compilation aborted at t/ssl_context.t line 3.
t/ssl_context....dubious
Test returned status 255 (wstat 65280, 0xff00) FAILED--2 test scripts could be run, alas--no output ever seen make: *** [test_dynamic] Error 255 [EMAIL PROTECTED] Crypt-SSLeay-0.51 [2:129]
From the make I can see SSLeay.so removed!!
please help!!!!
I search for similar error on the web and I found, this problem can be cause by OLD dynamic libraries.
But How do I find out which OLD library is causing the problem!!
Thanks for your time
--
warm regards Vinita Vigine Murugiah Email : [EMAIL PROTECTED] Ph : (03) 8344 1273