in reply to expat library issue
Are your perl and XML::Parser compatible? That is, if XML::Parser is compiled with 5.6.1 and perl was subsequently upgraded to 5.8, you'd have binary compatibility issues and you'll have to recompile XML::Parser from the source.
In Section
Seekers of Perl Wisdom