My Oracle Support Banner

Problem Applying Patch using OPatch - "Can't locate in @INC..." (Doc ID 987924.1)

Last updated on JULY 17, 2020

Applies to:

Portal - Version and later
Information in this document applies to any platform.


An error is seen  applying patch using OPatch on a Linux environment

Executing the Apply pre-patch script (/<ORACLE_HOME>/4919270/4919270/custom/scripts/pre)...
Can't locate in @INC (@INC contains: /<ORACLE_HOME>/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0 /<ORACLE_HOME>/perl/lib/5.6.1/i686-linux /<ORACLE_HOME>/perl/lib/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/5.6.1/i686-linux /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl/5.6.1/i686-linux /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl .) at line 47.
BEGIN failed--compilation aborted at line 47.
Compilation failed in require at line 65.
BEGIN failed--compilation aborted at line 65.
PERL5LIB=/<ORACLE_HOME>/perl/lib/5.6.1:/u01/app/oracle/OraHome_1/4919270/4919270/custom/scripts/perl_modules; export PERL5LIB
/<ORACLE_HOME>/perl/bin/perl /u01/app/oracle/OraHome_1/4919270/4919270/custom/scripts/ -apply 4919270 -s <PORTAL_SCHEMA> -p <PORTAL_PASSWORD> -c <HOSTNAME>:<DB_PORT>:<SERVICE_NAME>


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

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