Re: XML::Simple Environment errors

2008-07-24 Thread Jenda Krynicky
From: Gorrebeeck, Robert [EMAIL PROTECTED]
  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.

If the Expat.so is there then either it was compiled for a different 
version of Perl, OS or hardware or it can't find the expat library. I 
believe you need to have libexpat.so (not sure about the extension) 
somewhere where perl can find it. Unless it was staticaly linked into 
the Expat.so which I don't think is the case.

HTH, Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




XML::Simple Environment errors

2008-07-23 Thread Gorrebeeck, Robert
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.