- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- XML::Parser against libexpat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 04:16 AM
тАО03-25-2009 04:16 AM
Can't load '/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/XML/Parser/Expat/Expat.sl' for module XML::Parser::Expat: No such file or directory at /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DynaLoader.pm line 230.
at /opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/XML/Parser.pm line 14
Compilation failed in require at /opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at /opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/XML/Parser.pm line 18.
Compilation failed in require.
BEGIN failed--compilation aborted.
I know that this error can be rectified by installing libexpat library from sourceforge as mentioned in HP's perl web-page.
But i wanted to know - whether there is any workaround, or any other module in perl, by adding it solves this problem -- that is without having to use libexpat and get the issue resolved.
Your inputs please.
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 04:23 AM
тАО03-25-2009 04:23 AM
Re: XML::Parser against libexpat
Perhaps a palatble solution is to fetch the requisite library from here:
http://hpux.connect.org.uk/hppd/hpux/Development/Tools/expat-2.0.1/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 04:27 AM
тАО03-25-2009 04:27 AM
Re: XML::Parser against libexpat
But that still has an external dependency - I was searching for a solution without having to install expat seperately - thanks for pointing out this link. It helped though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 04:51 AM
тАО03-25-2009 04:51 AM
Re: XML::Parser against libexpat
I'm a bit surprised that you don't have this library. I do on a Perl 5.8.8 installed from the HP depots.
Do you have '/opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/auto/XML/Parser/Expat/Expat.sl' ?
If so, you might switch to the 64-bit Perl (and fetch any modules from CPAN that you added to your 32-bit environment).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 07:53 PM
тАО03-25-2009 07:53 PM
Re: XML::Parser against libexpat
i am using perl version: E.5.8.8.C,
would be good to know what you are using,
can you please share the details of "swlist perl".
Thanks,
Syed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 05:22 AM
тАО03-26-2009 05:22 AM
Re: XML::Parser against libexpat
> i am using perl version: E.5.8.8.C,
I have HP's 'D.5.8.8.B' and 'D.5.8.8.A' installed on PA-RISC and IA64 for 11.11 and 11.23 and the library in question is present in the appropriate form.
I just downloaded (for 11.23) version 'E.5.8.8.D'.
If you do:
# swlist -d -l file @/tmp/perl_E.5.8.8.D_HP-UX_B.11.23_IA_PA.depot|grep Expat
...you will see that the library is present in various forms necessary.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 07:46 PM
тАО03-26-2009 07:46 PM
Re: XML::Parser against libexpat
Yeah that is strange, i see the libraries to be present but still the XML related modules don't load unless expat2.01 is installed from the hp-connect site.
I remember in previous versions D.5.8.8.x, i didn't had to install anything like expat seperately - just install perl and XML modules worked fine - quite puzzling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 01:22 AM
тАО04-08-2009 01:22 AM
Re: XML::Parser against libexpat
As you found out, Expat.so in E.5.8.8.C requires libexpat.so
regardless of 32-bit or 64-bit. But the perl bundle for
E.5.8.8.C doesn't provide it. This is the root cause for the
problem you encountered.
# swlist | grep perl
perl E.5.8.8.C Perl Programming Language
# ldd /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so
Unable to find library 'libexpat.so'.
#
It seems to me Expat.so in perl D.5.8.8.B on 11.23 was linked
with libexpat.a, not libexpat.so.
NOTE:
=====
I think the three depot files for E.5.8.8.D which are available
at software.hp.com have the same problem:
perl_E.5.8.8.D_HP-UX_B.11.11_32_64.depot
perl_E.5.8.8.D_HP-UX_B.11.23_IA_PA.depot
perl_E.5.8.8.D_HP-UX_B.11.31_IA_PA.depot
On the other hand, the following version doesn't have the same
problem because it seems to me Expat.so in the following depot
is linked with the archive library:
perl_D.5.8.9.A.BETA1_HP-UX_B.11.31_IA_PA.depot
Shinji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 01:36 PM
тАО04-09-2009 01:36 PM
SolutionPHSS_39651 - s700_800 11.11 32-bit perl patch on E.5.8.8.C
PHSS_39652 - s700_800 11.23 32-bit perl patch on E.5.8.8.C
PHSS_39653 - 11.31 32-bit perl patch on E.5.8.8.C
PHSS_39691 - s700_800 11.11 64-bit perl patch on E.5.8.8.C
PHSS_39692 - s700_800 11.23 64-bit perl patch on E.5.8.8.C
PHSS_39693 - 11.31 64-bit perl patch on E.5.8.8.C
All of them has become available from ITRC.
Hope this helps you,
Shinji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 09:31 PM
тАО04-12-2009 09:31 PM
Re: XML::Parser against libexpat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2009 12:37 AM
тАО08-14-2009 12:37 AM
Re: XML::Parser against libexpat
I have the same problem than Syed.
I have installed the E.5.8.8.D perl version and would like to find the depot file in order to fix this problem, but I can├В┬┤t find it.
I am not sure if the path proposed by Sinji (PHSS_39691 - s700_800 11.11 64-bit perl patch on E.5.8.8.C) would be valid for my installation. Anyway, I neither founf the depot file for this patch.. Could you please help me?
On the other hand, I have got more eeror during my compilation:
at /opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/XML/Parser.pm line 14
Compilation failed in require at /opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/XML/Parser.pm line 14.
Anything about this error?
Sorry for my english and thanks a lot in advance!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2009 12:42 AM
тАО08-14-2009 12:42 AM
Re: XML::Parser against libexpat
Lauching OCS Inventory NG Agent
Can't load '/opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/auto/XML/Parser/Expat/Expat.sl' for module XML::Parser::Expat: No such file or directory at /opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/DynaLoader.pm line 230.
at /opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/XML/Parser.pm line 14
Compilation failed in require at /opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at /opt/perl_64/lib/site_perl/5.8.8/PA-RISC2.0-thread-multi-LP64/XML/Parser.pm line 18.
Compilation failed in require at /opt/perl_64/lib/site_perl/5.8.8/XML/SAX/Expat.pm line 11.
BEGIN failed--compilation aborted at /opt/perl_64/lib/site_perl/5.8.8/XML/SAX/Expat.pm line 11.
Compilation failed in require at (eval 18) line 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2009 04:05 PM
тАО08-14-2009 04:05 PM
Re: XML::Parser against libexpat
As of today I can not find any patch for Perl E.5.8.8.D to fix
the Expat problem. The best choice I can recommend you is to
downgrade perl to E.5.8.8.C.
1. swinstall Perl E.5.8.8.C from 11.11 March 2009 application
media with the option "-x allow_downdate=true".
2. Download both PHSS_39651 and PHSS_39691.
3. swinstall both patches once.
* Unfortunately E.5.8.8.C is not available on the softwaredepot
web site.
* Two patches shown above fix the two problems:
- Expat.sl are missing
- ActiveState perl modules are missing
If you have any reason to continue using E.5.8.8.D, you must
install Expat.sl (/usr/local/lib/Expat.sl and
/usr/local/lib/pa20_64/Expat.sl) somehow.
For example,
a) download the 32-bit binary and build a 64-bit shared library
from the source code.
b) build both 32-bit and 64-bit shared libraries from the source
code.
Hope this helps you !!