When running orachk on OEL 7.2 Oracle 12c get message Can't locate Switch.pm in @INC
[oracle@server orachk]$ ./orachk
Output directory is /u01/oracle/orachk
./orachk: line 11970: [: link: integer expression expected
./orachk: line 11974: [: link: integer expression expected
Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./.cgrep/auto_upgrade.pl line 25.
BEGIN failed--compilation aborted at ./.cgrep/auto_upgrade.pl line 25.
This version of orachk was released on 30-May-2014 and its older than 120 days. It is highly recommended that you download the latest version of orachk from my oracle support to ensure the highest level of accuracy of the data contained within the report.