RE: Problem with installing Crypt::SSLeay

2001-10-31 Thread Mark Strong

Looks like your loader can't find libgcc_s.so.1 which is used by
SSLeay.so, make a sym link to a lib path that it will look in (like
/usr/local/lib).

And then recompile Crypt::SSLeay

Then make test should work.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Feng, James
Sent: Thursday, 1 November 2001 7:49
To: Keary Suska
Cc: [EMAIL PROTECTED]
Subject: RE: Problem with installing Crypt::SSLeay


Hi Keary,

After I recompiled perl 5.6.1, I installed modules, URI, MIME-Base64,
HTML-Parser, libnet and Digest-MD5, then I installed libwww-perl. When I
tried to install SSLeay, at the point of 'make test' I still got the
error I previously got but this time I did 'make install' any way. It
looked like installed the module without complain. Unfortunately when I
tried to use LWP call to a https site I got the following error. Any
ideas? Thanks.

Error:501 Can't locate object method new via package
LWP::Protocol::https (perhaps you forgot to load
LWP::Protocol::https?)

 -Original Message-
 From: Keary Suska [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 1:26 PM
 To: [EMAIL PROTECTED]; Feng, James
 Subject: Re: Problem with installing Crypt::SSLeay


 It appears that the SSLeay loadable is not being created:
 'blib/arch/auto/Crypt/SSLeay/SSLeay.so'
 If this file isn't there, try just running 'make' and look
 again. You could
 also do a 'find' in the source tree to see if it is being
 created elsewhere,
 but it shouldn't. Perhaps the makfile isn't making before
 make test.

 Keary Suska
 Esoteritech, Inc.
 Leveraging Open Source for a better Internet

  From: Feng, James [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  Date: Wed, 31 Oct 2001 11:02:33 -0500
  To: [EMAIL PROTECTED]
  Subject: Problem with installing Crypt::SSLeay
 
  Hi All,
 
  When I tried to install Crypt::SSLeay on a Solaris 8 box, I
  got the following error at doing make test.
 
  PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
  -I/usr/local/lib/perl5/5.6.1/sun4-solaris
  -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness
  qw(runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
  t/ssl_context...Can't load
  'blib/arch/auto/Crypt/SSLeay/SSLeay.so' for module
  Crypt::SSLeay: ld.so.1: /usr/local/bin/perl: fatal:
  libgcc_s.so.1: open failed: No such file or directory at
  /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
  at blib/lib/Crypt/SSLeay/CTX.pm line 2
  Compilation failed in require at
 blib/lib/Crypt/SSLeay/CTX.pm line 2.
  Compilation failed in require at
  blib/lib/Crypt/SSLeay/MainContext.pm line 9.
  BEGIN failed--compilation aborted at
  blib/lib/Crypt/SSLeay/MainContext.pm line 9.
  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--1 test script could be run, alas--no output ever seen
  make: *** [test_dynamic] Error 2
 
  I have installed openssl 0.9.6 and tried to install
 Crypt::SSLeay 0.31.
  Please help and thanks in advance.
 
  James Feng
  Systems Architect
  Covisint
  Tel: (248)827-6031
  Cell: (248)219-2565
  Fax: (248)827-1731
  e-mail: [EMAIL PROTECTED]
 
 
 __
  OpenSSL Project
http://www.openssl.org
 User Support Mailing List[EMAIL PROTECTED]
 Automated List Manager   [EMAIL PROTECTED]


__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



PKCS#7 commands in PERL

2001-10-18 Thread Mark Strong

How would I do something like this from perl

openssl smime -sign -in message.unsigned -signer my.pem -inkey my.key -out
message.signed -outform DER -nodetach

can I use Net::SSLeay ?  Or is there another perl module to interface with
openssl ?



Regards
Mark Strong

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]