Hello, in order to pass test and run any xml functions i have had to set an environment variable LD_PRELOAD to "use XML::LibXML". problem i have is packaging commonly used xml functions into my own subroutines for my users is problematic. what i am wondering is if anyone out there has managed to "use XML::LibXML" on hp11 without resorting to LD_PRELOAD. the website for http://www.hp.com does not yield an alternative that i can find. i am running perl 5.8.7 compiled 64-bit with libxml2 2.6.29. thank you in advance.
[sol:jaw2]$ gmake cc -c -I/rs3/jaw2/libxml/hp11/include/libxml2 -Ae -D_HPUX_SOURCE -Wl, ++vnocompatwarnings +DD64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + +O2 +Onolimit -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" +Z "-I/sw/Sys +tem/perl/5.8.7/hp11/lib/5.8.7/PA-RISC2.0-LP64/CORE" -DHAVE_UTF8 Comm +on.c cc: "Common.xs", line 58: warning 604: Pointers are not assignment-com +patible. cc: "Common.xs", line 100: warning 604: Pointers are not assignment-co +mpatible. cc: "Common.xs", line 100: warning 563: Argument #2 is not the correct + type. cc: "Common.xs", line 155: warning 604: Pointers are not assignment-co +mpatible. cc: "Common.xs", line 193: warning 604: Pointers are not assignment-co +mpatible. cc: "Common.xs", line 193: warning 563: Argument #2 is not the correct + type. cc: "Common.xs", line 196: warning 604: Pointers are not assignment-co +mpatible. cc: "Common.xs", line 196: warning 563: Argument #1 is not the correct + type. Running Mkbootstrap for XML::LibXML::Common () chmod 644 Common.bs rm -f blib/arch/auto/XML/LibXML/Common/Common.sl LD_RUN_PATH="" /usr/bin/ld -b +vnocompatwarnings -L/usr/local/lib -L/ +lib/pa20_64 Common.o -o blib/arch/auto/XML/LibXML/Common/Common.sl + -L/rs3/jaw2/libxml/hp11/lib -lxml2 -lpthread -lm chmod 755 blib/arch/auto/XML/LibXML/Common/Common.sl cp Common.bs blib/arch/auto/XML/LibXML/Common/Common.bs chmod 644 blib/arch/auto/XML/LibXML/Common/Common.bs Manifying blib/man3/XML::LibXML::Common.3 [sol:jaw2]$ gmake test PERL_DL_NONLAZY=1 /sw/System/perl/5.8.7/exe/perl58.hp11 "-Iblib/lib" " +-Iblib/arch" test.pl 1..8 # Running under perl version 5.008007 for hpux # Current time local: Wed Jul 25 10:20:34 2007 # Current time GMT: Wed Jul 25 15:20:34 2007 # Using Test.pm version 1.25 /usr/lib/pa20_64/dld.sl: '/lib/pa20_64/libpthread.1' contains a static + TLS reference to '__thread_specific_seg' defined in a dynamically lo +aded library '/lib/pa20_64/libpthread.1'. Use +tls=dynamic to re-comp +ile '/lib/pa20_64/libpthread.1'. /usr/lib/pa20_64/dld.sl: '/lib/pa20_64/libpthread.1' contains a static + TLS reference to '__thread_specific_seg' defined in a dynamically lo +aded library '/lib/pa20_64/libpthread.1'. Use +tls=dynamic to re-comp +ile '/lib/pa20_64/libpthread.1'. Can't load 'blib/arch/auto/XML/LibXML/Common/Common.sl' for module XML +::LibXML::Common: Invalid argument at /sw/System/perl/5.8.7/hp11/lib/ +5.8.7/PA-RISC2.0-LP64/DynaLoader.pm line 230. at test.pl line 10 Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. gmake.hp11.pa2: *** [test_dynamic] Error 22 [sol:jaw2]$ export LD_PRELOAD=/lib/pa20_64/libpthread.1 [sol:jaw2]$ gmake test PERL_DL_NONLAZY=1 /sw/System/perl/5.8.7/exe/perl58.hp11 "-Iblib/lib" " +-Iblib/arch" test.pl 1..8 # Running under perl version 5.008007 for hpux # Current time local: Wed Jul 25 10:20:49 2007 # Current time GMT: Wed Jul 25 15:20:49 2007 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 [sol:jaw2]$

In reply to using XML::LibXML on hp-ux 11.11 by jim_neophyte

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.