I came across the following error while trying to connect to an LDAP server over HTTPS using the Perl module SOAP::Lite:

Can't locate object method "new" via
package "LWP::Protocol::https::Socket"

The way to fix this problem is to install the Crypt::SSLeay module from CPAN.

Hope that helps someone!