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 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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: LibXML install issues on SCO
by chromatic (Archbishop) on Jul 16, 2004 at 21:47 UTC | |
by JanneVee (Friar) on Jul 16, 2004 at 23:09 UTC |