Products Resources Support About Us

Rocket Software

Installing Version 5.24 on z/OS

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

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?

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.

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

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.

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

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

Hi Bruce,

libperl.so doesn’t exist in our archive.

thanks,
Tatyana

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

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

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

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

Hello Tatyana,

Thank you for the information.

I will pass it on.

Regards

Bruce

Tatyana, thanks for the confirmation.