Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
There's more than one way to do things
 
PerlMonks  

Link Net::SSLeay to custom-built OpenSSL

by RachunZero (Novice)
on Feb 04, 2011 at 15:58 UTC ( #886237=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    *** Found OpenSSL-0.9.8p installed in /dsk01/apache/app/build2064/open
    +ssl-0.9.8p
    
  2. or download this
    # ldd SSLeay.so
            libssl.so.0.9.8 =>       (file not found)
    ...
            libz.so.1 =>     /usr/lib/libz.so.1
            libc.so.1 =>     /lib/libc.so.1
            libm.so.2 =>     /lib/libm.so.2
    
  3. or download this
    ldd /dsk01/apache/download/build2064/perl_modules-20101126/Net-SSLeay-
    +1.36/blib/arch/auto/Net/SSLeay/SSLeay.so
            libssl.so.0.9.7 =>       /usr/sfw/lib/libssl.so.0.9.7
    ...
            libssl_extra.so.0.9.7 =>         /usr/sfw/lib/libssl_extra.so.
    +0.9.7
            libcrypto_extra.so.0.9.7 =>      /usr/sfw/lib/libcrypto_extra.
    +so.0.9.7
            libm.so.2 =>     /lib/libm.so.2
    
  4. or download this
    PERL_DIR=/dsk01/apache/app/build2064/perl-5.12.2
    PL=$PERL_DIR/bin/perl
    ...
    OPENSSL_PREFIX=$OPENSSL_DIR \
    $PL Makefile.PL
    make; make test; make install
    
  5. or download this
    /dsk01/apache/app/build2064/perl-5.12.2/bin/perl "-Iinc" /dsk01/apache
    +/app/build2064/perl-5.12.2/lib/5.12.2/ExtUtils/xsubpp  -typemap /dsk0
    +1/apache/app/build2064/perl-5.12.2/lib/5.12.2/ExtUtils/typemap -typem
    +ap typemap  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
    gcc -c  -I/dsk01/apache/app/build2064/openssl-0.9.8p/include -I/dsk01/
    +apache/app/build2064/openssl-0.9.8p/inc32 -I/usr/kerberos/include -D_
    +REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFIL
    +E_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -g   -DVER
    +SION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/dsk01/apache/app/build2
    +064/perl-5.12.2/lib/5.12.2/i86pc-solaris-thread-multi/CORE"   SSLeay.
    +c
    ...
    #   at t/handle/local/05_use.t line 8.
    #     Tried to use 'Net::SSLeay::Handle'.
    #     Error:  Can't load '/dsk01/apache/download/build2064/perl_module
    +s-20101126/Net-SSLeay-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for m
    +odule Net::SSLeay: ld.so.1: perl: fatal: libssl.so.0.9.8: open failed
    +: No such file or directory at /dsk01/apache/app/build2064/perl-5.12.
    +2/lib/5.12.2/i86pc-solaris-thread-multi/DynaLoader.pm line 200.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://886237]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-04-21 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (492 votes), past polls