Open-source Languages & Tools for z/OS

 View Only
Expand all | Collapse all

Installing Version 5.24 on z/OS

  • 1.  Installing Version 5.24 on z/OS

    Posted 04-04-2017 08:33

    I tried to install Perl 5.24 on z/OS using the instructions of the README.ZOS.
    So far so good. But when I wanted to test the installation I got the message: “The module libperl.so was not found”.
    First I checked the LIBPATH again. But the LIBPATH was OK.
    Then I searched the libperl.so in my installation directory by my self, but the only file I could found was a libperl.a under
    /mydirectory/lib/perl5/5.24.0/os390/CORE.

    Is there anything I forgot?

    The only instruction I have are the instruction of the README.ZOS.

    Thanks



  • 2.  RE: Installing Version 5.24 on z/OS

    Posted 04-05-2017 11:44

    LIBPATH should not have to be set in any particular way for perl 5.24.

    Are you sure you have the perl bin directory on your PATH? You can check this by running “which perl”.

    Also, the PERL5LIB environment variable has to be set to /mydirectory/lib/perl5.

    Finally, are you sure you ran change_pwd_perl.sh, as per the directions in README.ZOS?



  • 3.  RE: Installing Version 5.24 on z/OS

    Posted 04-12-2017 10:38

    Jerry,
    You say: LIBPATH should not have to be set in any particular way for perl 5.24.
    README.ZOS says as example:
    export LIBPATH=$LIBPATH:/rsusr/rocket/lib/perl5/5.24.0/os390/CORE

    Could you elaborate?

    Thanks, Manfred



  • 4.  RE: Installing Version 5.24 on z/OS

    Posted 04-06-2017 04:15

    Hello jcallen.

    Thanks for your reply. It was very helpfull. The Problem was, I set both in my .profile - file. LIBPATH and PERL5LIB.
    Omiting the LIBPATH Perl works fine.

    –> I must correct by myself.
    My problem wasn’t the LIBPATH. I overlooked an older version of perl wich was installed in an other path.



  • 5.  RE: Installing Version 5.24 on z/OS

    Posted 04-12-2017 11:09

    I must correct by myself.
    My problem wasn’t the LIBPATH. I overlooked an older version of perl wich was installed in an other path.



  • 6.  RE: Installing Version 5.24 on z/OS

    Posted 02-15-2018 04:11

    Still confused about using LIBPATH or not as README.ZOS for perl 5.24 build 005 says:

    export LIBPATH=$LIBPATH:/rsusr/rocket/lib/perl5/5.24.0/os390/CORE

    Is the documentation wrong or is Jerry wrong when he said:

    LIBPATH should not have to be set in any particular way for perl 5.24.

    Thanks, Manfred



  • 7.  RE: Installing Version 5.24 on z/OS

    Posted 02-26-2018 04:44

    Hi Manfred,

    Jerry is right. LIBPATH should not be set for perl 5.24, because it static linking was used. Thanks for notice, we will fix documentation.

    Thanks,
    Tatyana



  • 8.  RE: Installing Version 5.24 on z/OS

    Posted 02-27-2018 10:00

    Tatyana, thanks for the confirmation.



  • 9.  RE: Installing Version 5.24 on z/OS

    Posted 02-24-2018 23:36

    Hello,

    I also found the libperl.a module, could not find any libperl.so module in Perl 5.24.0.

    Where is libperl.so to be found?

    This is not a LIBPATH issue for me.

    I just want to know where libperl.so should be, or if it really does not exist in the Rocket download.

    Regards
    Bruce Hewson



  • 10.  RE: Installing Version 5.24 on z/OS

    Posted 02-26-2018 03:27

    Hi Bruce,

    libperl.so doesn’t exist in our archive.

    thanks,
    Tatyana



  • 11.  RE: Installing Version 5.24 on z/OS

    Posted 02-26-2018 03:49

    There is still the question if LIBPATH has to be set at all for perl 5.24. See my post above.



  • 12.  RE: Installing Version 5.24 on z/OS

    Posted 02-26-2018 03:50

    Hi Tatyana,

    thank you for confirmation that this module is not in the archive.

    So a module, libperl.so, which seemed to be mandatory in earlier releases, no longer exists.

    What happened to it?
    What has replaced it?

    A hint would be appreciated.

    Thank you
    Bruce



  • 13.  RE: Installing Version 5.24 on z/OS

    Posted 02-26-2018 04:35

    Bruce,

    Dynamic linking was used in version 5.22. We started to use static linking since 5.24. You can compile your program with static library libperl.a.

    Regards,
    Tatyana



  • 14.  RE: Installing Version 5.24 on z/OS

    Posted 02-26-2018 05:07

    Hello Tatyana,

    Thank you for the information.

    I will pass it on.

    Regards

    Bruce