Operating System - HP-UX
1835086 Members
2168 Online
110073 Solutions
New Discussion

Error while adding perl modules

 
RAJESH GANGADHARAN
Regular Advisor

Error while adding perl modules

Hi,

When ever I am trying to install a perl module it give the following error, The same error I am getting for all the modules.
make command completes sucessfully, while
make test fails. Following is the error message
make test
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl5/lib/5.00503/PA-RISC2.0 -I/opt/perl5/lib/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
Can't load '/opt/perl5/lib/5.00503/PA-RISC2.0/auto/IO/IO.sl' for module IO: Invalid argument at /opt/perl5/lib/5.00503/PA-RISC2.0/DynaLoader.pm line 169.

at /opt/perl5/lib/5.00503/PA-RISC2.0/IO/Handle.pm line 248
BEGIN failed--compilation aborted at /opt/perl5/lib/5.00503/PA-RISC2.0/IO/Seekable.pm line 50.
BEGIN failed--compilation aborted at /opt/perl5/lib/5.00503/PA-RISC2.0/IO/File.pm line 111.
BEGIN failed--compilation aborted at /opt/perl5/lib/5.00503/Test/Harness.pm line 7.
BEGIN failed--compilation aborted at -e line 1.
*** Error exit code 22
Let the choices you make today be the choices you can live with tomorrow.
5 REPLIES 5
Elmar P. Kolkman
Honored Contributor

Re: Error while adding perl modules

I think you need to look at the shared library. Have you looked to make sure the file exists and is indeed a correct shared library by running:
file /opt/perl5/lib/5.00503/PA-RISC2.0/auto/IO/IO.sl
Every problem has at least one solution. Only some solutions are harder to find.
RAJESH GANGADHARAN
Regular Advisor

Re: Error while adding perl modules

Hi
I had checkd the file and it shows it is a shared lib. here is the output of file command
file /opt/perl5/lib/5.00503/PA-RISC2.0/auto/IO/IO.sl
/opt/perl5/lib/5.00503/PA-RISC2.0/auto/IO/IO.sl: s800 shared library -not stripped
Let the choices you make today be the choices you can live with tomorrow.
Elmar P. Kolkman
Honored Contributor

Re: Error while adding perl modules

Probably trivial, but your system is PA-RISC2.0 capable?
Every problem has at least one solution. Only some solutions are harder to find.
RAJESH GANGADHARAN
Regular Advisor

Re: Error while adding perl modules

Yes
Configuration is HP-UX 11.00 running on HP L1000.
Let the choices you make today be the choices you can live with tomorrow.
H.Merijn Brand (procura
Honored Contributor

Re: Error while adding perl modules

May I ask why you are still using 5.005_03? My oldest available perl is 5.6.1, and I have several newer perl builds available on my web site. Somehow your error looks like incompatible perl objects. What does 'perl -V' give you?

My HP ITRC site pages can be found at

Singapore https://www.beepz.com/personal/merijn/
Rotterdam http://www.cmve.net/~merijn/
Seattle http://ww.hpux.ws/merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn