473,657 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting error when I am using XML::Parsar in perl files?

25 New Member
Hello,

I am using XML::Parsar in my perl file.
but when I run the perl file, getting the following erro even I have the parser.pm and Dynaloader.pm files in the lib path.
The error is:

Can't load '/usr/local/lib/perl5/site_perl/5.6.1/aix/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Ex pat: dlopen: /usr/local/lib/perl5/site_perl/5.6.1/aix/auto/XML/Parser/Expat/Expat.so: A file or directory in the path name does not exist. at /usr/local/lib/perl5/5.6.1/aix/DynaLoader.pm line 206. at /usr/local/lib/perl5/site_perl/5.6.1/aix/XML/Parser.pm line 15
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/aix/XML/Parser.pm line 15.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.1/aix/XML/Parser.pm line 19.
Compilation failed in require at addition_bkp.pl line 10.
BEGIN failed--compilation aborted at addition_bkp.pl line 10.

Anybody have any idea...

Thanks,
Bhavani
Feb 14 '08 #1
1 1679
eWish
971 Recognized Expert Contributor
You are getting this error because the module you are trying to use is either not installed or is not installed where perl is looking for it.

So you will need to install the module or tell perl where to look for the module by using the lib pragma.

--Kevin
Feb 14 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5944
by: Sam | last post by:
I would like to store html templates in a database. By using perl I would like to retrive the template ask the user to fill the template and store the whole file is template + the user data in a database. How can I do this? Should I use Perl Mason to do this. Or Can I store the template in database using text field and then retrive the template from database using select command and then save the html template to a file. Then in form...
1
5942
by: Frank | last post by:
Hi, is there a way to use XSL to compare two XML files to verify if a "record" in an XML file has changed of parent in another XML file ? I am trying to implement a template in an XSL stylesheet that would be able to compare the two files below and indicate if a client has changed of category (ex.: from "corp" to "prvt"). Any help would be gladly appreciated, I am desparatly trying to find a
1
1486
by: John Smith | last post by:
Ok, I have 2 xml files that are really similar. They have the exact same structure exept that in one XML some element are required and in the other they are simply absent from the xml. Problem is in they are similar at 90% what I was looking for is a way to validate and say what "case" I want to test. For exemple in my XSD I somehow specify what apply to what and in the XML or simply at validation time I specify wich case I want to test.
3
11285
by: Paul M | last post by:
Hi Sorry if this is posted in the wrong group but I'm brand new to this area. Basically I've got to post some XML documents to an external server using HTTP web request (POST, not GET) and be able to receive files back. I've got the XML file generated and checked over, but I just dont know how to go about the post process. I've got a feeling I'm supposed to create a form in my ASP application with an action which points at the URL I've...
4
2207
by: PZWU | last post by:
How can I build a big XML file by appending a few smaller xml files in C#? Below is what I've been trying: /* FileString.xml is the path and name string of the big xml file*/ XmlTextWriter writer = new XmlTextWriter (FileString, System.Text.Encoding.UTF8); writer.WriteStartDocument(); writer.WriteStartElement("FundXML");
1
2318
by: sham | last post by:
Hi to all, Is it possible with the .net framework to concatenate xml files? I have a number of xml files on disk and want to create one file which will have the format : <files> <file filename="a.xml" directory="c:\data\"> xml contents of file a.xml go here
2
1908
by: avanti | last post by:
Hi, I am developing an application where the scripts are written in the XML files. The application parses them and creates required CS files and runs them. The application has set of APIs that are used in the XML scripts. While writing the XML scripts, there is no intellisense available. I want to have intellisense in the XML editor for a particular dll. Is that possible? Does VS support it? Or are there any other editors that have...
3
6824
by: hakiran | last post by:
Hello all, I have been using Perl DBI the last 6months or so. I use it extensively with MySQL. But recently i tried to access Oracle DB with it and was having trouble. Any help would be appreciated. Here is the code and the error i get. I know the table/view do exist. Thanks all Kiran ----------
2
1285
by: rahatekarabhijeet | last post by:
I am seaching for the modules to deal with XML files. I found out the following modules for generation and parsing of XML document from CPAN, XML::Generator - Perl extension for generating XML XML::TreePP -- Pure Perl implementation for parsing/writing xml files Let me know the modules for XML processing better than mentioned above if any.
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.