My Oracle Support Banner

commpkg - "Can't locate Globals.pm in..." (Doc ID 1917401.1)

Last updated on NOVEMBER 15, 2017

Applies to:

Oracle Communications Delegated Administrator - Version 7.0.0 and later
Information in this document applies to any platform.

Symptoms

When running commpkg, an error is returned that says:

Can't locate <a PERL .pm file> 

For example, in Comm Suite 7U6:

# ./commpkg
Can't locate CI/Globals.pm in @INC (@INC contains: /export/home/downloads/comms7u6/COMMS/.install/Tools /export/home/downloads/comms7u6/COMMS/../lib /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at ./commpkg line 27.
BEGIN failed--compilation aborted at ./commpkg line 27.

In older versions, the problem filename is different, but the error is largely the same:

# ./commpkg
Can't locate CI/Util.pm in @INC (@INC contains: /export/home/downloads/comm6RR/.install/Tools /export/home/downloads/comm6RR/../lib /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at ./commpkg line 3428.
BEGIN failed--compilation aborted at ./commpkg line 3428.

 

Changes

This problem will appear after the Communications Suite download (a "V" file) has been de-compressed *before* being moved to a new sub-folder.

For example, looking at CommSutie 7U6 for Solaris/SPARC:

bash-3.00# ls -lh
total 2101524
-rw-r--r--   1 root     root         31M Aug 13 09:07 V30928-01.zip
-rw-r--r--   1 root     root        587M Aug 13 09:17 V35072-01.zip
-rw-r--r--   1 root     root        407M Aug 13 09:19 V46525-01.zip
-rw-r--r--   1 root     root        1.2K Aug 13 09:06 V46530-01.zip
-rw-r--r--   1 root     root        337K Aug 13 09:06 V46556-01.zip
bash-3.00# unzip -q V46525-01.zip
bash-3.00# ls -lh
total 2101532
drwxr-xr-x   2 root     root         512 Jul  1 22:16 Legal_Folder
drwxr-xr-x   3 root     root         512 Jul  1 22:16 README
drwxr-xr-x  32 root     root         512 Jul  1 22:16 SunOS_sparc
-rw-r--r--   1 root     root         31M Aug 13 09:07 V30928-01.zip
-rw-r--r--   1 root     root        587M Aug 13 09:17 V35072-01.zip
-rw-r--r--   1 root     root        407M Aug 13 09:19 V46525-01.zip
-rw-r--r--   1 root     root        1.2K Aug 13 09:06 V46530-01.zip
-rw-r--r--   1 root     root        337K Aug 13 09:06 V46556-01.zip
-rwxr-xr-x   1 root     root         666 Jul  1 22:16 commpkg
bash-3.00# mkdir COMMS
bash-3.00# mv Legal_Folder/ README/ SunOS_sparc/ commpkg COMMS
 
bash-3.00# ls
COMMS          V30928-01.zip  V35072-01.zip  V46525-01.zip  V46530-01.zip  V46556-01.zip
 
bash-3.00# cd COMMS
bash-3.00# ls
Legal_Folder  README        SunOS_sparc   commpkg
 
bash-3.00# ./commpkg
Can't locate CI/Globals.pm in @INC (@INC contains: /export/home/downloads/comms7u6/COMMS/.install/Tools /export/home/downloads/comms7u6/COMMS/../lib /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at ./commpkg line 27.
BEGIN failed--compilation aborted at ./commpkg line 27.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.