tsrplatelayer has asked for the wisdom of the Perl Monks concerning the following question:
This is mid-way through the initial set of 'use' linesCan't load 'D:/perl/site/lib/auto/SGML/Parser/OpenSP/OpenSP.dll' for m +odule SGML::Parser::OpenSP: load_file:The specified module could not +be found at D:/perl/site/lib/XSLoader.pm line 66. at D:/perl/site/li +b/SGML/Parser/OpenSP.pm line 18
OpenSP.dll exists in the path as given - so why doesnt it load? I changed XSLoader.pm to have 2 additonal print linesuse CGI 2.81 qw(-newstyle_urls -private_tempfiles red +irect); use CGI::Carp qw(carp croak fatalsToBrowser); use Config::General 2.19 qw(); # Need 2.19 for -AutoLaunder use Encode qw(); use Encode::Alias qw(); use Encode::HanExtra qw(); # for some chinese character encod +ings, # e.g gb18030 # use Encode::JIS2K qw(); # ditto extra japanese encodings use File::Spec qw(); use HTML::Encoding 0.52 qw(); use HTML::Parser 3.25 qw(); # Need 3.25 for $p->ignore_element +s. use HTML::Template 2.6 qw(); use HTTP::Negotiate qw(); use HTTP::Request qw(); use HTTP::Headers::Auth qw(); # Needs to be imported after other + HTTP::*. use SGML::Parser::OpenSP qw(); use URI qw(); use URI::Escape qw(uri_escape); use XML::LibXML qw();
All the 'use' commands prior to use SGML::Parser::OpenSP show both the 'Loading' and 'Loaded' messages from the print statements. However when this 'use' statement is processed the 'Loading' message is displayed but not the 'Loaded' message - instead the error is generated I am pulling my hair out and shortly will be a 'tonsured monk' Advice greatly appreciated.print "Loading XSLoader::load for $module ($file)<br>\n"; my $libref = dl_load_file($file, 0) or do { require Carp; Carp::croak("Can't load '$file' for module $module: " . dl_err +or()); }; print "Loaded XSLoader::load for $module ($file)<br>\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Struggling to solve OpenSP failure
by tsrplatelayer (Initiate) on Sep 24, 2007 at 21:17 UTC | |
by roboticus (Chancellor) on Sep 25, 2007 at 01:20 UTC | |
by tsrplatelayer (Initiate) on Sep 25, 2007 at 08:38 UTC | |
by roboticus (Chancellor) on Sep 25, 2007 at 14:41 UTC | |
by tsrplatelayer (Initiate) on Sep 26, 2007 at 09:41 UTC |