search cancel

no perl package found on Linux Spectrum for NCM use

book

Article ID: 256768

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

From the online documentation the perl should be already installed your linux box and you can use it for NCM...

On Linux
1. Install Perl.
The OS already has Perl that is installed (check /usr/bin/). This pre-installed Perl can be used for Network Configuration Manager scripts.
2. Install SSH-based perl modules and the SSH program.
You need to download and install the Net::SSH::Expect module, its dependent modules, and the ssh utility

....

see https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/22-2/managing-network/network-configuration-manager/network-configuration-manager-configurations/network-configuration-manager-extension-utility.html#concept.dita_365f06e2315d5d81950a2d485914292dc36c4aa3_PerlModules

but why do we supply it for Spectrum windows and not for Spectrum linux ?

 

Environment

Release :

Resolution

Net-SSH-Expect is dependent on Expect, and IO-Tty modules.
IO-Tty module contains C/C++ shared library Tty.so, this library is platform/runtime dependent.


[[email protected] ~]# ldd /usr/local/lib64/perl5/auto/IO/Tty/Tty.so
        linux-vdso.so.1 =>  (0x00007ffc817d7000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007fb70c72c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fb70c35e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb70cb38000)

 

Windows:
Windows Spectrum distribution contains Cygwin runtime environment, Shipping all Perl packages to compatible with Cygwin runtime.

Linux:
Package built on one Linux Platform/runtime system may not be compatible with another Linux runtime system,
due to this constraint not shipping Net-SSH-Expect and its dependencies Out of the box.

Attachments