Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

LibXML install issues on SCO

by j_r_dias (Initiate)
on Jul 16, 2004 at 20:54 UTC ( #375132=perlquestion: print w/replies, xml ) Need Help??

j_r_dias has asked for the wisdom of the Perl Monks concerning the following question:

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 version 1.24 Can't load 'blib/arch/auto/XML/LibXML/Common/' for module XML +::LibXML::Common: dynamic linker : /usr/local/bin/perl : error openin +g at /usr/local/lib/perl5/5.8.4/i386-sco/ l +ine 230. at line 10 Compilation failed in require at line 10. BEGIN failed--compilation aborted at 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/ lrwxrwxrwx 1 root sys 17 Jul 16 12:47 /usr/local/lib/ -> # 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" dynamic linker : ./perl : error opening /bin/sh: 25211 Killed make: *** [test_static] Error 137


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!

Replies are listed 'Best First'.
Re: LibXML install issues on SCO
by chromatic (Archbishop) on Jul 16, 2004 at 21:47 UTC

    Do you have the C library libxml2 installed?

    Update: Heh, I completely missed that part. Anyway, on Linux I'd have to run ldconfig to tell the dynamic loader where my shared libraries live. I have no idea whether SCO has anything similar.

      chromatic, I quote from j_r_dias question ... that looks like a yes to me..
      # ls -l /usr/local/lib/ lrwxrwxrwx 1 root sys 17 Jul 16 12:47 /usr/local/lib/ -> # perl -v

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://375132]
Approved by Thelonius
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2021-10-28 04:31 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (95 votes). Check out past polls.