Hello all,
I am trying very hard to install LibXML on SCO UNIX.

I first installed perl-5.8.4 with dynamic linking but when I was tried to install XML::LibXML::Common I got the following error for XML-LibXML-Common-0.13:

# make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test. +pl 1..8 # Running under perl version 5.008004 for sco # Current time local: Fri Jul 16 13:41:25 2004 # Current time GMT: Fri Jul 16 19:41:25 2004 # Using Test.pm version 1.24 Can't load 'blib/arch/auto/XML/LibXML/Common/Common.so' for module XML +::LibXML::Common: dynamic linker : /usr/local/bin/perl : error openin +g libxml2.so.2 at /usr/local/lib/perl5/5.8.4/i386-sco/DynaLoader.pm l +ine 230. at test.pl line 10 Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. make: *** [test_dynamic] Error 255

Path and other settings are as follows:

# echo $LD_RUN_PATH /usr/local/lib # echo $LD_LIBRARY_PATH /usr/guest/XML-LibXML-Common-0.13

(I also tried LD_LIBRARY_PATH=/usr/local/lib)

# ls -l /usr/local/lib/libxml2.so.2 lrwxrwxrwx 1 root sys 17 Jul 16 12:47 /usr/local/lib/ +libxml2.so.2 -> libxml2.so.8.6.11 # perl -v This is perl, v5.8.4 built for i386-sco

Later, I install perl-5.8.4 with static linking which gives me the following error:

# make test make -f Makefile.aperl perl make[1]: Entering directory `/usr/guest/XML-LibXML-Common-0.13' make[1]: `perl' is up to date. make[1]: Leaving directory `/usr/guest/XML-LibXML-Common-0.13' PERL_DL_NONLAZY=1 ./perl "-Iblib/lib" "-Iblib/arch" test.pl dynamic linker : ./perl : error opening libxml2.so.2 /bin/sh: 25211 Killed make: *** [test_static] Error 137

HELP IS HIGHLY APPRECIATED.

Thanks,
J Dias

Although I could not find a ldconfig command for the SCO unix. ldconfig was not required. But your pointers led me to find out how to set the env on SCO. Newbie on SCO :( Thanks for your help!

In reply to LibXML install issues on SCO by j_r_dias

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.