<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: (Perl) XML::LibXML compilation error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255949#M659033</link>
    <description>Before compilation, type:&lt;BR /&gt;&lt;BR /&gt;export LD_PRELOAD=/usr/lib/libpthread.sl&lt;BR /&gt;export LDOPTS="$LDOPTS +s -L/usr/local/lib -L/usr/lib"&lt;BR /&gt;&lt;BR /&gt;Then:&lt;BR /&gt;&lt;BR /&gt;perl Makefile.pl PREFIX=/path/to/usr&lt;BR /&gt;make&lt;BR /&gt;make test&lt;BR /&gt;make install&lt;BR /&gt;&lt;BR /&gt;That's all.</description>
    <pubDate>Fri, 01 Oct 2010 14:41:20 GMT</pubDate>
    <dc:creator>Samuel PHAN</dc:creator>
    <dc:date>2010-10-01T14:41:20Z</dc:date>
    <item>
      <title>(Perl) XML::LibXML compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255944#M659028</link>
      <description>Hi, I'm trying to install the perl lib XML::LibXML that relies on libxml2.&lt;BR /&gt;&lt;BR /&gt;Here are my environement variables &amp;amp; so:&lt;BR /&gt;&lt;BR /&gt;% perl --version&lt;BR /&gt;&lt;BR /&gt;This is perl, v5.10.1 (*) built for PA-RISC2.0&lt;BR /&gt;&lt;BR /&gt;% /usr/local/bin/xml2-config --version&lt;BR /&gt;2.7.3&lt;BR /&gt;&lt;BR /&gt;% echo $LD_LIBRARY_PATH&lt;BR /&gt;/usr/lib:/usr/local/lib:[...]&lt;BR /&gt;&lt;BR /&gt;% echo $SHLIB_PATH&lt;BR /&gt;[...]:/usr/lib:[...]:/usr/lib:/usr/local/lib:[...]&lt;BR /&gt;&lt;BR /&gt;% ll /usr/local/lib/libxml2*&lt;BR /&gt;-rw-r--r-- 1 root sys 1886718 Jan 27 2009 /usr/local/lib/libxml2.a&lt;BR /&gt;-rw-r--r-- 1 root sys 822 Jan 27 2009 /usr/local/lib/libxml2.la&lt;BR /&gt;-r-xr-xr-x 1 root sys 2002944 Jan 27 2009 /usr/local/lib/libxml2.sl*&lt;BR /&gt;&lt;BR /&gt;% ll /usr/local/include/libxml2/libxml&lt;BR /&gt;total 1200&lt;BR /&gt;-rw-r--r-- 1 root sys 3277 Jan 27 2009 DOCBparser.h&lt;BR /&gt;-rw-r--r-- 1 root sys 9217 Jan 27 2009 HTMLparser.h&lt;BR /&gt;-rw-r--r-- 1 root sys 3685 Jan 27 2009 HTMLtree.h&lt;BR /&gt;-rw-r--r-- 1 root sys 4412 Jan 27 2009 SAX.h&lt;BR /&gt;-rw-r--r-- 1 root sys 4944 Jan 27 2009 SAX2.h&lt;BR /&gt;-rw-r--r-- 1 root sys 2766 Jan 27 2009 c14n.h&lt;BR /&gt;-rw-r--r-- 1 root sys 4958 Jan 27 2009 catalog.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5159 Jan 27 2009 chvalid.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5181 Jan 27 2009 debugXML.h&lt;BR /&gt;-rw-r--r-- 1 root sys 1582 Jan 27 2009 dict.h&lt;BR /&gt;-rw-r--r-- 1 root sys 7931 Jan 27 2009 encoding.h&lt;BR /&gt;-rw-r--r-- 1 root sys 4672 Jan 27 2009 entities.h&lt;BR /&gt;-rw-r--r-- 1 root sys 14363 Jan 27 2009 globals.h&lt;BR /&gt;-rw-r--r-- 1 root sys 6567 Jan 27 2009 hash.h&lt;BR /&gt;-rw-r--r-- 1 root sys 3422 Jan 27 2009 list.h&lt;BR /&gt;-rw-r--r-- 1 root sys 3347 Jan 27 2009 nanoftp.h&lt;BR /&gt;-rw-r--r-- 1 root sys 2018 Jan 27 2009 nanohttp.h&lt;BR /&gt;-rw-r--r-- 1 root sys 39058 Jan 27 2009 parser.h&lt;BR /&gt;-rw-r--r-- 1 root sys 16573 Jan 27 2009 parserInternals.h&lt;BR /&gt;-rw-r--r-- 1 root sys 2586 Jan 27 2009 pattern.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5954 Jan 27 2009 relaxng.h&lt;BR /&gt;-rw-r--r-- 1 root sys 26023 Jan 27 2009 schemasInternals.h&lt;BR /&gt;-rw-r--r-- 1 root sys 4393 Jan 27 2009 schematron.h&lt;BR /&gt;-rw-r--r-- 1 root sys 1852 Jan 27 2009 threads.h&lt;BR /&gt;-rw-r--r-- 1 root sys 36628 Jan 27 2009 tree.h&lt;BR /&gt;-rw-r--r-- 1 root sys 2664 Jan 27 2009 uri.h&lt;BR /&gt;-rw-r--r-- 1 root sys 13814 Jan 27 2009 valid.h&lt;BR /&gt;-rw-r--r-- 1 root sys 2779 Jan 27 2009 xinclude.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5051 Jan 27 2009 xlink.h&lt;BR /&gt;-rw-r--r-- 1 root sys 10448 Jan 27 2009 xmlIO.h&lt;BR /&gt;-rw-r--r-- 1 root sys 3992 Jan 27 2009 xmlautomata.h&lt;BR /&gt;-rw-r--r-- 1 root sys 36664 Jan 27 2009 xmlerror.h&lt;BR /&gt;-rw-r--r-- 1 root sys 3703 Jan 27 2009 xmlexports.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5972 Jan 27 2009 xmlmemory.h&lt;BR /&gt;-rw-r--r-- 1 root sys 1171 Jan 27 2009 xmlmodule.h&lt;BR /&gt;-rw-r--r-- 1 root sys 12551 Jan 27 2009 xmlreader.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5458 Jan 27 2009 xmlregexp.h&lt;BR /&gt;-rw-r--r-- 1 root sys 2260 Jan 27 2009 xmlsave.h&lt;BR /&gt;-rw-r--r-- 1 root sys 6198 Jan 27 2009 xmlschemas.h&lt;BR /&gt;-rw-r--r-- 1 root sys 4893 Jan 27 2009 xmlschemastypes.h&lt;BR /&gt;-rw-r--r-- 1 root sys 5466 Jan 27 2009 xmlstring.h&lt;BR /&gt;-rw-r--r-- 1 root sys 9993 Jan 27 2009 xmlunicode.h&lt;BR /&gt;-rw-r--r-- 1 root sys 7608 Jan 27 2009 xmlversion.h&lt;BR /&gt;-rw-r--r-- 1 root sys 21107 Jan 27 2009 xmlwriter.h&lt;BR /&gt;-rw-r--r-- 1 root sys 16199 Jan 27 2009 xpath.h&lt;BR /&gt;-rw-r--r-- 1 root sys 19448 Jan 27 2009 xpathInternals.h&lt;BR /&gt;-rw-r--r-- 1 root sys 3411 Jan 27 2009 xpointer.h&lt;BR /&gt;&lt;BR /&gt;Here is my error during compilation:&lt;BR /&gt;&lt;BR /&gt;% perl Makefile.PL DEBUG=1&lt;BR /&gt;enable native perl UTF8&lt;BR /&gt;running xml2-config...xml2-config --version&lt;BR /&gt;xml2-config --libs&lt;BR /&gt;xml2-config --cflags&lt;BR /&gt;ok (2.7.3)&lt;BR /&gt;looking for -lxml2... /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/bin/perl Makefile.PL 'INC=-I/usr/local/include/libxml2' 'LIBS=-L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm' 'DEFINE= -DHAVE_UTF8'&lt;BR /&gt;INC = -I/usr/local/include/libxml2&lt;BR /&gt;LIBS = -L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm&lt;BR /&gt;DEFINE = -DHAVE_UTF8&lt;BR /&gt;Have /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0&lt;BR /&gt;Want /home/OPENSOURCE/PERL/5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0&lt;BR /&gt;Your perl and your Config.pm seem to have different ideas about the&lt;BR /&gt;architecture they are running on.&lt;BR /&gt;Perl thinks: [PA-RISC2.0]&lt;BR /&gt;Config says: [PA-RISC2.0]&lt;BR /&gt;This may or may not cause problems. Please check your installation of perl&lt;BR /&gt;if you have problems building this extension.&lt;BR /&gt;Writing Makefile for Conftest&lt;BR /&gt;gmake test 'OTHERLDFLAGS='&lt;BR /&gt;cp Conftest.pm blib/lib/Conftest.pm&lt;BR /&gt;/opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/bin/perl /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/ExtUtils/xsubpp -typemap /home/OPENSOURCE/PERL/5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/ExtUtils/typemap Conftest.xs &amp;gt; Conftest.xsc &amp;amp;&amp;amp; mv Conftest.xsc Conftest.c&lt;BR /&gt;cc -c -I/usr/local/include/libxml2 -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"1\" -DXS_VERSION=\"1\" +Z "-I/home/OPENSOURCE/PERL/5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0/CORE" -DHAVE_UTF8 Conftest.c&lt;BR /&gt;Running Mkbootstrap for Conftest ()&lt;BR /&gt;chmod 644 Conftest.bs&lt;BR /&gt;rm -f blib/arch/auto/Conftest/Conftest.sl&lt;BR /&gt;LD_RUN_PATH="/usr/local/lib:/lib" /usr/bin/ld -b +vnocompatwarnings -L/usr/local/lib Conftest.o -o blib/arch/auto/Conftest/Conftest.sl \&lt;BR /&gt;-L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm \&lt;BR /&gt;&lt;BR /&gt;chmod 755 blib/arch/auto/Conftest/Conftest.sl&lt;BR /&gt;cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs&lt;BR /&gt;chmod 644 blib/arch/auto/Conftest/Conftest.bs&lt;BR /&gt;PERL_DL_NONLAZY=1 /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl&lt;BR /&gt;1..1&lt;BR /&gt;# Running under perl version 5.010001 for hpux&lt;BR /&gt;# Current time local: Mon Sep 20 16:17:34 2010&lt;BR /&gt;# Current time GMT: Mon Sep 20 14:17:34 2010&lt;BR /&gt;# Using Test.pm version 1.25_02&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: libiconv.sl&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;Can't load 'blib/arch/auto/Conftest/Conftest.sl' for module Conftest: No such file or directory at /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0/DynaLoader.pm line 200.&lt;BR /&gt;at test.pl line 2&lt;BR /&gt;Compilation failed in require at test.pl line 2.&lt;BR /&gt;BEGIN failed--compilation aborted at test.pl line 2.&lt;BR /&gt;not ok 1&lt;BR /&gt;# Failed test 1 in test.pl at line 1&lt;BR /&gt;# test.pl line 1 is: use Test; BEGIN { plan tests =&amp;gt; 1; } END { ok($loaded) }&lt;BR /&gt;gmake: *** [test_dynamic] Error 2&lt;BR /&gt;system call to 'gmake test 'OTHERLDFLAGS='' failed at Makefile.PL line 470.&lt;BR /&gt;no&lt;BR /&gt;looking for -llibxml2... /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/bin/perl Makefile.PL 'INC=-I/usr/local/include/libxml2' 'LIBS=-L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm' 'DEFINE= -DHAVE_UTF8'&lt;BR /&gt;INC = -I/usr/local/include/libxml2&lt;BR /&gt;LIBS = -L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm&lt;BR /&gt;DEFINE = -DHAVE_UTF8&lt;BR /&gt;Have /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0&lt;BR /&gt;Want /home/OPENSOURCE/PERL/5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0&lt;BR /&gt;Your perl and your Config.pm seem to have different ideas about the&lt;BR /&gt;architecture they are running on.&lt;BR /&gt;Perl thinks: [PA-RISC2.0]&lt;BR /&gt;Config says: [PA-RISC2.0]&lt;BR /&gt;This may or may not cause problems. Please check your installation of perl&lt;BR /&gt;if you have problems building this extension.&lt;BR /&gt;Writing Makefile for Conftest&lt;BR /&gt;gmake test 'OTHERLDFLAGS='&lt;BR /&gt;cp Conftest.pm blib/lib/Conftest.pm&lt;BR /&gt;/opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/bin/perl /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/ExtUtils/xsubpp -typemap /home/OPENSOURCE/PERL/5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/ExtUtils/typemap Conftest.xs &amp;gt; Conftest.xsc &amp;amp;&amp;amp; mv Conftest.xsc Conftest.c&lt;BR /&gt;cc -c -I/usr/local/include/libxml2 -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"1\" -DXS_VERSION=\"1\" +Z "-I/home/OPENSOURCE/PERL/5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0/CORE" -DHAVE_UTF8 Conftest.c&lt;BR /&gt;Running Mkbootstrap for Conftest ()&lt;BR /&gt;chmod 644 Conftest.bs&lt;BR /&gt;rm -f blib/arch/auto/Conftest/Conftest.sl&lt;BR /&gt;LD_RUN_PATH="/usr/local/lib:/lib" /usr/bin/ld -b +vnocompatwarnings -L/usr/local/lib Conftest.o -o blib/arch/auto/Conftest/Conftest.sl \&lt;BR /&gt;-L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm \&lt;BR /&gt;&lt;BR /&gt;chmod 755 blib/arch/auto/Conftest/Conftest.sl&lt;BR /&gt;cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs&lt;BR /&gt;chmod 644 blib/arch/auto/Conftest/Conftest.bs&lt;BR /&gt;PERL_DL_NONLAZY=1 /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl&lt;BR /&gt;1..1&lt;BR /&gt;# Running under perl version 5.010001 for hpux&lt;BR /&gt;# Current time local: Mon Sep 20 16:17:37 2010&lt;BR /&gt;# Current time GMT: Mon Sep 20 14:17:37 2010&lt;BR /&gt;# Using Test.pm version 1.25_02&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: libiconv.sl&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;Can't load 'blib/arch/auto/Conftest/Conftest.sl' for module Conftest: No such file or directory at /opt/perl_5.10.1/HP-UX/B.11.11/pa-risc/64b/lib/perl5/5.10.1/PA-RISC2.0/DynaLoader.pm line 200.&lt;BR /&gt;at test.pl line 2&lt;BR /&gt;Compilation failed in require at test.pl line 2.&lt;BR /&gt;BEGIN failed--compilation aborted at test.pl line 2.&lt;BR /&gt;not ok 1&lt;BR /&gt;# Failed test 1 in test.pl at line 1&lt;BR /&gt;# test.pl line 1 is: use Test; BEGIN { plan tests =&amp;gt; 1; } END { ok($loaded) }&lt;BR /&gt;gmake: *** [test_dynamic] Error 2&lt;BR /&gt;system call to 'gmake test 'OTHERLDFLAGS='' failed at Makefile.PL line 470.&lt;BR /&gt;no&lt;BR /&gt;libxml2 not found&lt;BR /&gt;Try setting LIBS and INC values on the command line&lt;BR /&gt;Or get libxml2 from&lt;BR /&gt;&lt;A href="http://xmlsoft.org/" target="_blank"&gt;http://xmlsoft.org/&lt;/A&gt;&lt;BR /&gt;If you install via RPMs, make sure you also install the -devel&lt;BR /&gt;RPMs, as this is where the headers (.h files) are.&lt;BR /&gt;&lt;BR /&gt;Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter&lt;BR /&gt;to see the exact reason why the detection of libxml2 installation&lt;BR /&gt;failed or why Makefile.PL was not able to compile a test program.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;I don't understand why there is this error:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: libiconv.sl&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;&lt;BR /&gt;The lib is right in the place:&lt;BR /&gt;&lt;BR /&gt;% ll /usr/local/lib/libiconv*&lt;BR /&gt;-rw-r--r-- 1 root sys 943920 Jan 31 2004 /usr/local/lib/libiconv.a&lt;BR /&gt;-rw-r--r-- 1 root sys 788 Jan 31 2004 /usr/local/lib/libiconv.la&lt;BR /&gt;-r-xr-xr-x 1 root sys 929792 Jan 31 2004 /usr/local/lib/libiconv.sl*&lt;BR /&gt;&lt;BR /&gt;I've set the env var:&lt;BR /&gt;&lt;BR /&gt;$LD_PRELOAD=/usr/lib/libpthread.sl&lt;BR /&gt;&lt;BR /&gt;cause if I don't, I have this error during the compilation:&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libpthread.1&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;Do you know why it can't find the libiconv.sl ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,</description>
      <pubDate>Mon, 20 Sep 2010 13:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255944#M659028</guid>
      <dc:creator>Samuel PHAN</dc:creator>
      <dc:date>2010-09-20T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: (Perl) XML::LibXML compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255945#M659029</link>
      <description>&amp;gt;I don't understand why there is this error:&lt;BR /&gt;dld.sl: Can't open shared library: libiconv.sl&lt;BR /&gt;dld.sl: No such file or directory&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The lib is right in the place:&lt;BR /&gt;-r-xr-xr-x 1 root sys 929792 Jan 31 2004 /usr/local/lib/libiconv.sl*&lt;BR /&gt;&lt;BR /&gt;What does "file usr/local/lib/libiconv.sl" show?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do you know why it can't find the libiconv.sl?&lt;BR /&gt;&lt;BR /&gt;Do you have the right bitness in that shlib?&lt;BR /&gt;Do you have R and X permissions for /usr /usr/lib /usr/local/lib?</description>
      <pubDate>Tue, 21 Sep 2010 06:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255945#M659029</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-21T06:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: (Perl) XML::LibXML compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255946#M659030</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;% file /usr/local/lib/libiconv.sl&lt;BR /&gt;/usr/local/lib/libiconv.sl:     PA-RISC1.1 shared library&lt;BR /&gt;&lt;BR /&gt;% ll -d /usr&lt;BR /&gt;dr-xr-xr-x  26 bin        bin           8192 Jun 30 11:04 /usr/&lt;BR /&gt;&lt;BR /&gt;% ll -d /usr/local&lt;BR /&gt;drwxrwxr-x  20 bin        bin           8192 Oct 14  2008 /usr/local/&lt;BR /&gt;&lt;BR /&gt;% ll -d /usr/local/lib&lt;BR /&gt;drwxrwxr-x  14 bin        bin           8192 Oct 22  2008 /usr/local/lib/&lt;BR /&gt;&lt;BR /&gt;% uname -a&lt;BR /&gt;HP-UX ftdev B.11.11 U 9000/800 3968125325 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;In fact, it seems that I found what to do to make it works:&lt;BR /&gt;&lt;BR /&gt;export LDOPTS="+s -L/usr/local/lib -L/usr/lib"&lt;BR /&gt;&lt;BR /&gt;I've read this there:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Development/Libraries/libiconv-1.13.1/libiconv-1.13.1-src-11.11.tar.gz+libiconv-1.13.1/HPUX.Install+text" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Development/Libraries/libiconv-1.13.1/libiconv-1.13.1-src-11.11.tar.gz+libiconv-1.13.1/HPUX.Install+text&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are some missing dependencies now (XML::NamespaceSupport &amp;amp; XML::SAX), but this problem seems to be behind ;-)</description>
      <pubDate>Tue, 21 Sep 2010 08:02:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255946#M659030</guid>
      <dc:creator>Samuel PHAN</dc:creator>
      <dc:date>2010-09-21T08:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: (Perl) XML::LibXML compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255947#M659031</link>
      <description>&amp;gt;it seems that I found what to do to make it works:&lt;BR /&gt;export LDOPTS="+s -L/usr/local/lib -L/usr/lib"&lt;BR /&gt;&lt;BR /&gt;(Since -L/usr/lib is the default, please leave it off.)&lt;BR /&gt;What are you building with this?&lt;BR /&gt;I guess I assumed that +s was already being used since perl would have to have it.&lt;BR /&gt;&lt;BR /&gt;But if it is your shlib that needs libiconv, then you need +s.</description>
      <pubDate>Tue, 21 Sep 2010 21:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255947#M659031</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-09-21T21:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: (Perl) XML::LibXML compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255948#M659032</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for your replay, and sorry to reply so late.&lt;BR /&gt;&lt;BR /&gt;To resume what I've done to make the compilation of the perl lib XML::LibXML, was just :&lt;BR /&gt;&lt;BR /&gt;export LD_PRELOAD=/usr/lib/libpthread.sl&lt;BR /&gt;export LDOPTS="$LDOPTS +s -L/usr/local/lib -L/usr/lib"&lt;BR /&gt;&lt;BR /&gt;Then :&lt;BR /&gt;&lt;BR /&gt;perl Makefile.PL PREFIX=/path/to/usr&lt;BR /&gt;make&lt;BR /&gt;make test&lt;BR /&gt;make install&lt;BR /&gt;&lt;BR /&gt;You may be right about the "-L/usr/lib" that may be not required, but I just write here what I've done and it works.&lt;BR /&gt;&lt;BR /&gt;Thank you for your replies.</description>
      <pubDate>Fri, 01 Oct 2010 14:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255948#M659032</guid>
      <dc:creator>Samuel PHAN</dc:creator>
      <dc:date>2010-10-01T14:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: (Perl) XML::LibXML compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255949#M659033</link>
      <description>Before compilation, type:&lt;BR /&gt;&lt;BR /&gt;export LD_PRELOAD=/usr/lib/libpthread.sl&lt;BR /&gt;export LDOPTS="$LDOPTS +s -L/usr/local/lib -L/usr/lib"&lt;BR /&gt;&lt;BR /&gt;Then:&lt;BR /&gt;&lt;BR /&gt;perl Makefile.pl PREFIX=/path/to/usr&lt;BR /&gt;make&lt;BR /&gt;make test&lt;BR /&gt;make install&lt;BR /&gt;&lt;BR /&gt;That's all.</description>
      <pubDate>Fri, 01 Oct 2010 14:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-xml-libxml-compilation-error/m-p/5255949#M659033</guid>
      <dc:creator>Samuel PHAN</dc:creator>
      <dc:date>2010-10-01T14:41:20Z</dc:date>
    </item>
  </channel>
</rss>

