> > My environment: > > System: HP-UX palm B.10.20 A 9000/879 1274075342 two-user license > > open-ssl: 0.9.4 - installed successfully - Apache+mod_ssl works fine with it > > Net::SSLeay 1.0.5 > > gcc: v.2.8.1 Pardon me for boring... I've managed to compile NetSSLeay. Having Makefile created (perl Makefile.PL) I replaced LINKTYPE= dynamic with LINKTYPE = static Pack was compiled and installed successfully. Than I've tried to make test. It complained that it does not see libperl.a library and I replaced libperl.a with libperl.sl in Makefile.aperl file. After all I get the next output from make test: # make test make -f Makefile.aperl perl `perl' is up to date. PERL_DL_NONLAZY=1 ./perl -Iblib/arch -Iblib/lib -I/opt/perl5/lib/5.00503/PA-RISC2.0 -I/opt/per l5/lib/5.00503 test.pl 1..16 ok 1 ok 2 Spawning a test server on port 1212, pid=796... Can't locate loadable object for module Net::SSLeay in @INC (@INC contains: blib/arch blib/lib /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 . /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 .) at examples/sslcat.pl line 13 BEGIN failed--compilation aborted at examples/sslcat.pl line 13. *** not ok 3 Can't locate loadable object for module Net::SSLeay in @INC (@INC contains: blib/arch blib/lib /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 . /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 .) at examples/minicli.pl line 5 BEGIN failed--compilation aborted at examples/minicli.pl line 5. *** not ok 4 Can't locate loadable object for module Net::SSLeay in @INC (@INC contains: blib/arch blib/lib /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 . /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 .) at examples/callback.pl line 11 BEGIN failed--compilation aborted at examples/callback.pl line 11. *** not ok 5 Sending 1 MB over localhost, may take a while (and some VM)... Can't locate loadable object for module Net::SSLeay in @INC (@INC contains: blib/arch blib/lib /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 . /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 .) at examples/bulk.pl line 7 BEGIN failed--compilation aborted at examples/bulk.pl line 7. ...took 1 secs (1024 KB/s) *** not ok 6 Sending 1 MB over pipes, may take a while (and some VM)... Can't locate loadable object for module Net::SSLeay in @INC (@INC contains: blib/arch blib/lib /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 . /opt/perl5/lib/5.00503/PA-RISC2.0 /opt/perl5/lib/5.00503 /opt/perl5/lib/site_perl/5.005/PA-RISC2.0 /opt/perl5/lib/site_perl/5.005 .) at examples/stdio_bulk.pl line 8 BEGIN failed--compilation aborted at examples/stdio_bulk.pl line 8. ...took 1 secs (1024 KB/s) *** not ok 7 Now about to contact external sites... www.bacus.pt www.openssl.org www.apache-ssl.org www.cdw.com www.rsa.com developer.netscape.com banking.wellsfargo.com secure.worldgaming.net www.engelschall.com You have 5 seconds of time to hit Ctrl-C if you do not like this. *** 5 tests failed already. Following tests _will_ fail if you do not have network connectivity (or if the servers are down or have changed). ok 8 www.bacus.pt ok 9 www.openssl.org (Apache/1.3.6 (Unix) mod_perl/1.20 mod_ssl/2.3.5 OpenSSL/0.9.3a DAV/0.9.8) ok 10 www.apache-ssl.org (Apache/1.3.9 Ben-SSL/1.37 (Unix)) ok 11 www.cdw.com (Microsoft-IIS/4.0) ok 12 www.rsa.com (Netscape-Enterprise/3.6) ok 13 developer.netscape.com (Netscape-Enterprise/3.6) test.pl 795: open_tcp_connection: destination host not found: `banking.wellsfargo.com' (port 443) () ok 14 banking.wellsfargo.com () ok 15 secure.worldgaming.net (Stronghold/2.3 Apache/1.2.6 C2NetUS/2010) ok 16 www.engelschall.com (Apache/1.3.6 (Unix) mod_perl/1.20 mod_ssl/2.3.5 OpenSSL/0.9.3a DAV/0.9.8) *** WARNING: There were 5 errors in the tests. *** Error exit code 9 Stop. ----- Original Message ----- From: Sampo Kellomaki <[EMAIL PROTECTED]> To: Igor I. Shulz <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, October 16, 1999 4:24 AM Subject: Re: Net:SSLeay on HPUX 10.20 - installation problem > "Igor I. Shulz" <[EMAIL PROTECTED]> writes: > > > Dear developer, > > > > (damn, it's undouptly my own fault, but I cannot figure out what is this - > > not enough experience). > > > > My environment: > > System: HP-UX palm B.10.20 A 9000/879 1274075342 two-user license > > open-ssl: 0.9.4 - installed successfully - Apache+mod_ssl works fine with it > > Net::SSLeay 1.0.5 > > gcc: v.2.8.1 > > > > make ; Makefile.PL -t > > > > That's is newer than what this module was tested with (0.9.3a). You should > > consider checking if there is a newer release of this module > > available. Everything will probably work OK, though. > > mkdir blib > > mkdir blib/lib > > mkdir blib/lib/Net > > mkdir blib/arch > > mkdir blib/arch/auto > > mkdir blib/arch/auto/Net > > mkdir blib/arch/auto/Net/SSLeay > > mkdir blib/lib/auto > > mkdir blib/lib/auto/Net > > mkdir blib/lib/auto/Net/SSLeay > > mkdir blib/man3 > > cp SSLeay.pm blib/lib/Net/SSLeay.pm > > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > > characters: > > directory blib/lib/auto/Net/SSLeay: > > ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read > > ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ > > /usr/bin/perl -I/opt/perl5/lib/5.00503/PA-RISC2.0 -I/opt/perl5/lib/5.00503 > > /opt/perl5/lib/5.00503/ExtUtils/xsubpp -typemap > > /opt/perl5/lib/5.00503/ExtUtils/typemap -typemap typemap SSLeay.xs >xstmp.c > > && mv xstmp.c SSLeay.c > > cc -c -I/usr/local/ssl/include -D_HPUX_SOURCE -O -DVERSION=\"1.05\" -D > > XS_VERSION=\"1.05\" -fpic -I/opt/perl5/lib/5.00503/PA-RISC2.0/CORE SSLeay.c > > SSLeay.c: In function `XS_Net__SSLeay_get_cipher_list': > > SSLeay.c:2505: warning: assignment discards `const' from pointer target type > > SSLeay.c: In function `XS_Net__SSLeay_get_cipher': > > SSLeay.c:2538: warning: assignment discards `const' from pointer target type > > Running Mkbootstrap for Net::SSLeay () > > chmod 644 SSLeay.bs > > LD_RUN_PATH="/usr/local/ssl/lib" ld -o > > lib/arch/auto/Net/SSLeay/SSLeay.sl -b -L/usr/local/lib > > eay.o -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto > > ld: DP relative code in file /usr/local/ssl/lib/libssl.a(s2_meth.o) - shared > > library must be position > > independent. Use +z or +Z to recompile. > > *** Error exit code 1 > > You should probably edit Makefile.PL to include the flags your > compiler is recommending. THeoretically this should have been figured > out when your perl was configured because Makefile.PL simply reuses > the perl compile time configuration. BTW, did you compile your perl or > did you install it as binary. In the latter case its possible that it > was compiled with different compiler which knew nothing of +z flag > (e.g. perl was compiled with vendor cc, but you compile with gcc). > > --Sampo > > > > > Stop. > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]