download the /lib folder (zip) - it contains a corrected version of this 
module

Thomas





Von:    "Pontus Hellgren" <pon...@scandinavianhosting.se>
An:     <assp-test@lists.sourceforge.net>
Datum:  04.11.2014 11:07
Betreff:        [Assp-test] module load error...



Hi there!

Just installed a new server the same way I usually do (I think...) and
upgraded from ASSP version 2.4.3(14258) to ASSP version 2.4.4(14307) 

I get a module load error:
module Net::SMTP::SSL could not be loaded (see error below): check with
>perl -e "use Net::SMTP::SSL;"
Not a GLOB reference at /usr/local/share/perl/5.18.2/Net/SMTP/SSL.pm line
16, <DATA> line 751.
Compilation failed in require at (eval 142) line 1, <DATA> line 751.
BEGIN failed--compilation aborted at (eval 142) line 1, <DATA> line 751.

Checking SSL.pm (on both servers)
no strict 'refs';
foreach ( keys %Net::SMTP:: ) {
Line 16 ->    next unless defined *{$Net::SMTP::{$_}}{CODE};
    *{$_} = \&{"Net::SMTP::$_"};
}

And ASSP shows:
Net::SMTP::SSL           not installed / 1.01            is not installed

If I check cpan it's installed:
"Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 04 Nov 2014 08:17:02 GMT
Net::SMTP::SSL is up to date (1.01)."

But if I run perl -e "use Net::SMTP::SSL;" I get: 
Not a GLOB reference at /usr/local/share/perl/5.18.2/Net/SMTP/SSL.pm line
16.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Anyone else?

I have been at this for hours now, removing and installing the module back
and forth.
I need hints, please! 
What am I missing? 

Running on Ubuntu 14.04.1 LTS with perl:amd64/trusty 5.18.2-2ubuntu1. 
And all packs are installed and is running great on the other server.

Regards,
Pontus




------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to