IBM Support

The SSL module of ratlperl for HP-UX in ClearCase 10.0 fails to load

Troubleshooting


Problem

On HP-UX in ClearCase® 10.0, ratlperl scripts that load the Net::SSLeay module directly or require it indirectly, for example, Net::HTTPS, will fail due to a corrupted search path.

The resultant error might look similar to this:

Can't load '/opt/rational/common/lib/perl5/site_perl/5.26.3/IA64.ARCHREV_0-thread-multi-LP64/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: No such file or directory at /opt/rational/common/lib/perl5/5.26.3/IA64.ARCHREV_0-thread-multi-LP64/DynaLoader.pm line 194.
 at /opt/rational/common/lib/perl5/site_perl/5.26.3/IO/Socket/SSL.pm line 19.
Compilation failed in require at /opt/rational/common/lib/perl5/site_perl/5.26.3/IO/Socket/SSL.pm line 19.
BEGIN failed--compilation aborted at /opt/rational/common/lib/perl5/site_perl/5.26.3/IO/Socket/SSL.pm line 19.
Compilation failed in require at /opt/rational/common/lib/perl5/site_perl/5.26.3/Net/HTTPS.pm line 25.
Can't locate Net/SSL.pm in @INC (you may need to install the Net::SSL module) (@INC contains: /opt/rational/common/lib/perl5/site_perl/5.26.3/IA64.ARCHREV_0-thread-multi-LP64 /opt/rational/common/lib/perl5/site_perl/5.26.3 /opt/rational/common/lib/perl5/5.26.3/IA64.ARCHREV_0-thread-multi-LP64 /opt/rational/common/lib/perl5/5.26.3) at /opt/rational/common/lib/perl5/site_perl/5.26.3/Net/HTTPS.pm line 29.
Compilation failed in require.
BEGIN failed--compilation aborted.

Resolving The Problem

Note: This problem is fixed as of ClearCase® version 10.0.0.1.
As a workaround on version 10.0, one of the environment variables LD_LIBRARY_PATH or SHLIB_PATH can be used to have the missing directory included in the search path used by ratlperl. 
     

LD_LIBRARY_PATH="/opt/rational/common/shlib:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH 

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"ARM Category":[{"code":"a8m50000000L0i5AAC","label":"ClearCase"}],"ARM Case Number":"","Platform":[{"code":"PF010","label":"HP-UX"}],"Version":"10.0.0"}]

Document Information

Modified date:
31 January 2023

UID

ibm16841883