469,325 Members | 1,667 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,325 developers. It's quick & easy.

error while parsing XML file in AIX

Hi
while am running perl script which parses an XML file in AIX following error is getting:(i have given use XML::parser in the script)

Can't load '/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: 05
09-022 Cannot load module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/Parser/Expat/Expat.so.
0509-150 Dependent module libexpat.a(libexpat.so.0) could not be loaded.
0509-022 Cannot load module libexpat.a(libexpat.so.0).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/Parser/Expat/Expat.so.
0509-150 Dependent module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/Parser/Expat/Expat.so could not b
e loaded. at /usr/opt/perl5/lib/5.8.2/aix-thread-multi/DynaLoader.pm line 229.
at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/Parser.pm line 14
Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/Parser.pm line 18.
Compilation failed in require at reformat.pl line 3.
BEGIN failed--compilation aborted at reformat.pl line 3.

Could anyone please help me out??...its urgent
Jul 25 '07 #1
2 9410
numberwhun
3,503 Expert Mod 2GB
Silly, question, but do you have the XML::parser module installed on the machine? If so, you may want to try to re-install it. Just an idea.

Regards,

Jeff
Jul 25 '07 #2
Silly, question, but do you have the XML::parser module installed on the machine? If so, you may want to try to re-install it. Just an idea.

Regards,

Jeff
I had the same problem on a AIX6.1 system, where the XML::Parser::Expat can not find a dependent shared library libexpat.so.O. Same library exists there on a AIX 5.2 system as /usr/lib/libexpat.a -> ../../opt/freeware/lib/libexpat.a. So I got to download and install expat-1.95.7-4.aix5.1.ppc.rpm from http://www-03.ibm.com/systems/p/os/a.../download.html to solve this.

---
$ ldd /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/Parser/Expat/Expat.so
/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/Parser/Expat/Expat.so needs:
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libc_r.a(shr.o)
Cannot find libexpat.a(libexpat.so.0) <<<<<<<<<<< missing lib
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/unix
/usr/lib/libcrypt.a(shr.o)
Nov 19 '07 #3

Post your reply

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

Similar topics

2 posts views Thread by ST | last post: by
6 posts views Thread by ST | last post: by
2 posts views Thread by Brett | last post: by
8 posts views Thread by Brett Romero | last post: by
14 posts views Thread by brett | last post: by
reply views Thread by =?Utf-8?B?VWxmIFRob3JzZW4=?= | last post: by
12 posts views Thread by jonatan | last post: by
3 posts views Thread by =?Utf-8?B?RGFuYQ==?= | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.