Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem on HPUX with Expat.pm

Status
Not open for further replies.

oingoboingo

Technical User
Dec 8, 2003
4
AU
I am trying to run a perl script that requires Expat.pm module. However, when I run the script the following error message appears.

Can't locate loadable object for module XML::parser::Expat in @INC

I have created the necessary XML/Parser directory under the lib directory, copied the Expat.pm file into it.
Can anyone see why this error is happening?
Thanks
 
Hi

XML Parser is an standard perl module. It comes with the perl software.

Anyway, Try pushing the dir to @INC, like this:

BEGIN {push @INC,"home/dmazzini"};



dmazzini
GSM System and Telecomm Consultant

 
Thanks D.
I think I have figured out what might be the cause of it. But unfortunately I am not encountering problems with my build.
From what I have read there may need to be an Expat.so file that is required. So in reality, the error message is a red herring.
Would you happen to have Expat.so compiled from HPUX machine?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top