Hello all
We recently migrated over to a new server and installed the new version
of XML::Simple and am getting errors when I try to parse an XML file. I
get an error stating:
XMLin() requires either XML::SAX or XML::Parser
I have verified that both modules are installed.
What is strange is when I try to get the version of XML::Parser or
XML::SAX I get the following error:
bash-3.2$ perl -mXML::Parser -e 'print
$XML::Parser::VERSION'
Can't load
'/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/XML/Parser/Expat
/Expat.so' for module XML::Parser::Expat: ld.so.1: perl: fatal:
libgcc_s.so.1: open failed: No such file or directory at
/usr/local/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230.
at /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/XML/Parser.pm line
14
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/XML/Parser.pm line 18.
Compilation failed in require.
I have verified that the file is there and that the modules were
installed.
I thought I got around this by fixing my library path by explicitly
setting the LIBRARY PATH to usr/local/lib, but when I do this - I lose
the path to my other modules that I use, such as DBD, etc. On our old
server, when I try to get the version of XML::Parser or XML::SAX I do
not receive any errors.
I am under the assumption it is an environment setting. Unfortunately I
am not the admin of the machine, so I did not install the modules
Can anyone point me to a solution?
Thanks in advance.
Robert Gorrebeeck
Sr. EDI Developer
TCM Development Group
3220 Keller Springs
Suite #106
Carrollton, Texas 75006
(o) (972) 725-1484
(e) [EMAIL PROTECTED]
Email Confidentiality Notice: The information contained in this transmission is
confidential, proprietary or privileged and may be subject to protection under
the law, including the Health Insurance Portability and Accountability Act
(HIPAA).
The message is intended for the sole use of the individual or entity to whom
it is addressed. If you are not the intended recipient, you are notified that
any use, distribution or copying of the message is strictly prohibited and may
subject you to criminal or civil penalties. If you received this transmission
in error, please contact the sender immediately by replying to this email and
delete the material from any computer.