Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

openssl standard exemple with suspect error

by swilting (Beadle)
on Feb 12, 2012 at 21:35 UTC ( #953355=perlquestion: print w/ replies, xml ) Need Help??
swilting has asked for the wisdom of the Perl Monks concerning the following question:

hello guys , hello master of "Fu" . I just get into a complex project with a secure chat connection ssl. I start by trying recovered as much documentation as possible and I am having problems with this example standard http://devpit.org/wiki/OpenSSL_with_nonblocking_sockets_%28in_Perl%29 I use the example provided on page

my error is that

~]# perl opensslblock3.pl Can't locate auto/Net/SSLeay/ENGINE_load.al in @INC (@INC contains: /u +sr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/s +ite_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 + /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_p +erl/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr +/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/ve +ndor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5. +8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread +-multi /usr/lib/perl5/5.8.8 .) at opensslblock3.pl line 32

I do not understand the error because I think I have correctly installed the libraries on my server . sincerely

Comment on openssl standard exemple with suspect error
Download Code
Re: openssl standard exemple with suspect error
by Anonymous Monk on Feb 13, 2012 at 01:10 UTC

    I do not understand the error because I think I have correctly installed the libraries on my server . sincerely

    I think you simply copy/pasted some .pm files :) Thats not gonna work.

Re: openssl standard exemple with suspect error
by oko1 (Deacon) on Feb 13, 2012 at 06:15 UTC

    I've just checked out the script; it seems OK, and works for me (well, barring the various key validation warnings - but no compilation failures.) A quick chase down the stack shows that the call to 'ENGINE_load' comes from the binary SSLeay.so file in /usr/lib/perl5/auto/Net/SSLeay (at least that's where it is on my system).

    Take a look at your file structure and see if you can locate this file (maybe by using 'find'), then check to make sure that the path to the top-level module directory (in my case, that would be /usr/lib/perl5) is included in your @INC. If it's not, that's the problem; read up on the PERL5LIB variable for one of the ways to fix it. If you don't find the file, that's a different problem: possibly an incorrect module installation or a missing SSL library.

    -- 
    I hate storms, but calms undermine my spirits.
     -- Bernard Moitessier, "The Long Way"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-12-18 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (67 votes), past polls