Hi,
I run a Cobalt RaQ4 server that has a number of sites. I need to tweak the (perl) shopping suite of one of the users so it works with a credit card company. To do this it needs to send https messages. The server can happily recieve https.

The system (built on RedHat) has a built in partial installation of openssl, (without libraries), that is not enough to allow my to install Crypt::SSLeay.

I have built a new complete version in another place, so as not to disturb the existing use of the built in version.

I then built and tried to test Crypt::SSLeay which resulted in errors.

*** Log of building Crypt::SSLeay
[root Crypt-SSLeay-0.51]# perl Makefile.PL No OpenSSL installation found, usually in /usr/local/openssl Which OpenSSL build path do you want to link against? /wws/bin ================================================ BUILD INFORMATION ================================================ ssl dir: /wws/bin libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref include dir: /wws/bin/include ssl header: openssl/ssl.h ssl candidate: /wws/bin; /wws/bin/include/openssl; OpenSSL 0.9.8 ================================================ 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 *** Log of building Crypt::SSLeay [root Crypt-SSLeay-0.51]# make cc -c -I/wws/bin/include -Dbool=char -DHAS_BOOL -I/usr/local/include - +O2 -DVE RSION=\"0.51\" -DXS_VERSION=\"0.51\" -fpic -I/usr/lib/perl5/5.00503/i3 +86-linux/C ORE SSLeay.c SSLeay.xs: In function `XS_Crypt__SSLeay__Conn_new': SSLeay.xs:252: warning: passing arg 2 of `SSL_set_info_callback' from +incompatib le pointer type Running Mkbootstrap for Crypt::SSLeay () chmod 644 SSLeay.bs LD_RUN_PATH="/wws/bin/lib" cc -o blib/arch/auto/Crypt/SSLeay/SSLeay.so + -shared -L/usr/local/lib SSLeay.o -L/wws/bin/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 *** Log of testing Crypt::SSLeay [root Crypt-SSLeay-0.51]# make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl +5/5.00503/ i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests + $verbose) ; $verbose=0; runtests @ARGV;' t/*.t t/net_ssl...........dubious Test returned status 0 (wstat 11, 0xb) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl +5/5.00503/ Test/Harness.pm line 288. make: *** [test_dynamic] Error 255
What is wrong, how do I fix it?

Thanks.

Richard

Janitored: holli fixed formatting and code tags


In reply to Crypt::SSLeay build Problem by Waveney42

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.