jordanthompson has asked for the wisdom of the Perl Monks concerning the following question:

Hi there,
I am trying to get Mail::Webmail::Gmail working on my windoze xp machine.
I have installed openssl into windows/system32 (when I type openssl from the commandline, it starts with no complaints)
I have installed Crypt::SSLeay

When I try to run a sample snippet, I get the following:
Can't locate loadable object for module Crypt::SSLeay in @INC (@INC co +ntains: lib c:/Perl/lib c:/Perl/site/lib .) at c:/Perl/lib/Mail/Webma +il/Gmail.pm line 10 Compilation failed in require at c:/Perl/lib/Mail/Webmail/Gmail.pm lin +e 10. Compilation failed in require at gmailTest.pl line 4. BEGIN failed--compilation aborted at gmailTest.pl line 4.

Gmail.pm at line 10 says:
require Crypt::SSLeay;

(which I belive is installed.)

Any help would be most welcome.

thanks in advance,
Jordan

Replies are listed 'Best First'.
Re: Having trouble with Crypt::SSLeay
by tilly (Archbishop) on Sep 07, 2006 at 05:15 UTC
    I would say that you either did not install Crypt::SSLeay, or else you did but some part of it is not in the expected path.

    How did you try to install the module? Are you sure the installation succeeded? Can you locate where it might have put the module?

Re: Having trouble with Crypt::SSLeay ("install")
by tye (Sage) on Sep 07, 2006 at 05:37 UTC

    You'd get this error if you "installed" the module by just copying the SSLeay.pm file to the correct directory. If so, then you need to "install" it for real. Lots of FAQs on installing modules so I won't yet try to guess what part of that process will cause you problems.

    - tye        

Re: Having trouble with Crypt::SSLeay
by randyk (Parson) on Sep 07, 2006 at 14:09 UTC
    The error
    Can't locate loadable object for module Crypt::SSLeay in @INC
    might mean that Perl couldn't load the XS component of the module because the required external dlls (ssleay32.dll and libeay32.dll, in this case) either weren't found in your PATH environment variable, or perhaps were found but the versions weren't compatible with the versions of the dlls used to compile the Perl module.

      Actually, the situation you describe would cause attempting to load the "loadable object" to fail, but wouldn't prevent the "loadable object" from being found.

      - tye        

        OK I don't feel so bad anymore.
        First thanks to all of the valuable input. I have subsequently downloaded and installed Active Package Manager - what an incredible tool! Makes life with Perl easy.

        But... I tried to install the wbmail-gmail package and got: Synchronizing Database ... DONE
        Mail-Webmail-Gmail marked for install

        ERROR: Can't find any package that provide Crypt-SSLeay for Mail-Webmail-Gmail


        Any suggestions would be most welcome!
Re: Having trouble with Crypt::SSLeay
by Anonymous Monk on Sep 07, 2006 at 08:12 UTC
A reply falls below the community's threshold of quality. You may see it by logging in.