http://www.perlmonks.org?node_id=885582


in reply to Re: Can't locate object method
in thread Can't locate object method

I think that I have those modules installed, but it could be some sort of inappropriate use of recreational drugs that makes me think so. I suspect that I've done something wrong in terms of setting up the environment or installing them. I think that's what I really need your help on. I need to know how to "verify" that something is installed as I think it is and how to check my environment to be sure that the modules are visibile to the code that is using them.

Replies are listed 'Best First'.
Re^3: Can't locate object method
by Anonyrnous Monk (Hermit) on Feb 01, 2011 at 18:27 UTC
    I need to know how to "verify" that something is installed

    Try to load the modules from the command line  (only one of them needs to work):

    $ perl -MNet::SSL -e1 or $ perl -MIO::Socket::SSL -e1

    and see what error messages you get (if any).  Things should be fine if you don't get an error message.

    (Be sure to use the same Perl version and environment that is being used by Apache.)

      Ahah! That revealed something. It showed that my OPENSSL libraries were not in the LD_LIBRARY_PATH.

      Now if I can just figure out why they need to be...

      Thanks very much!