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

Hi people,

Just thought maybe someone has seen these errors before. We install a standard perl-bundle (precompiled) on HPUX 11.0 machines, which usually works no problems, on one of them it's doing this:

# /usr/local/bin/perl -e 'use Net::FTP' Can't load '/usr/local/lib/perl5/5.00503/PA-RISC1.1/auto/Socket/Socket +.sl' for module Socket: Invalid argument at /usr/local/lib/perl5/5.00 +503/PA-RISC1.1/DynaLoader.pm line 169. at /usr/local/lib/perl5/site_perl/5.005/Net/FTP.pm line 17 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5. +005/Net/FTP.pm line 17. BEGIN failed--compilation aborted at -e line 1.
I'm assuming a HPUX lib is missing or something, any concrete ideas? (No, I cant compile perl on the machine..)

C.

Replies are listed 'Best First'.
Re: Perl 5.00503 - errors on HPUX 11.00
by robartes (Priest) on Mar 18, 2003 at 16:53 UTC
    I'd have a look at line 169 of DynaLoader.pm, and compare whatever incantation is there with the manpage for shl_load. I'd have a look myself but having neither HPUX nor Perl 5.00503 handy, I can't help you directly, I'm afraid.

    So this answer may well be vacuous drivel :). Hopefully it will point you in the right direction though.

    CU
    Robartes-

Re: Perl 5.00503 - errors on HPUX 11.00
by castaway (Parson) on Mar 19, 2003 at 11:53 UTC
    Hmm, seems the machine just had too-new patches on it (from Sept. 2002, the working ones are at least a year older..)
    So we tried copying a 5.6.1, which worked.
    Wierd stuff that..

    C.