Can't load 'C:/Perl/site/lib/auto/Net/SSLeay/SSLeay.dll'

Posted by bansoboy on 2010-04-12 13:47
Forums: PPM | OS: Windows

I am trying to figure out what is wrong that gives the error message below and I still can't find a solution. I notice this is a common error while researching.
Does anyone know what is wrong that brings this error?
Will appreciate any suggestions.
Below is the error I get.

Can't load 'C:/Perl/site/lib/auto/Net/SSLeay/SSLeay.dll' for module Net::SSLeay: load_file:Access is denied at
C:/Perl/lib/DynaLoader.pm line 201.
at C:/Perl/site/lib/IO/Socket/SSL.pm line 18
Compilation failed in require at C:/Perl/site/lib/IO/Socket/SSL.pm line 18.
BEGIN failed--compilation aborted at C:/Perl/site/lib/IO/Socket/SSL.pm line 18.
Compilation failed in require at C:/inetpub/wwwroot/otrs-2.4.7/bin/cgi-bin/../../Kernel/cpan-lib/Net/SMTP/SSL.pm line 8.
BEGIN failed--compilation aborted at C:/inetpub/wwwroot/otrs-2.4.7/bin/cgi-bin/../../Kernel/cpan-lib/Net/SMTP/SSL.pm line 8.
Compilation failed in require at ../..//Kernel/System/Email/SMTPS.pm line 17.
BEGIN failed--compilation aborted at ../..//Kernel/System/Email/SMTPS.pm line 17.

bansoboy | Mon, 2010-04-12 23:23

Looking closely again at where I had this error especially at this point:

C:/Perl/site/lib/IO/Socket/SSL.pm line 18

I figured that SSL.pm line 18 reads like this:

use Net::SSLeay 1.21;

On checking I realised that I have Net::SSleay version 1.32 installed.
Could this be the error.
I present searching for Net::SSLeay version 1.21 to install but can't find the appropriate links.

bansoboy | Tue, 2010-04-13 00:53

I am quite sure the version Net::SSLeay did matter.
Since I did install my application from stratch, all the modules were installed individually.

What I did was I finally look for an application that came with all the modules. I installed it on a separate computer and then manaully copied the files of Net::SSLeay and replaced the files of Net::SSLeay in my first computer with these files and viola everything started working. It was surely a compatibility error.

Nice learning everyday!