Datapatch Fails with Error :“Can’t load ‘%ORACLE_HOME%/perl/site/ib/auto/DBD/Oracle.dll’ for module DBD::Oracle: load_file: The specified module could not be found”
(Doc ID 2193420.1)
Last updated on MARCH 15, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Microsoft Windows x64 (64-bit)
Linux x86-64
Symptoms
Windows Platform
‘Datapath -verbose’ fails with below error
<oracle_home>\OPatch>datapatch -verbose
Can't load '<oracle_home>/perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified module could not be found at <oracle_home>/perl/lib/DynaLoader.pm line 190.
at <oracle_home>\\sqlpatch/sqlpatch.pm line 169
Compilation failed in require at <oracle_home>\\sqlpatch/sqlpatch.pm line 169.
OR
<19c OH>\OPatch>datapatch -verbose
"make_path" is not exported by the File::Path module
Can't continue after import errors at <19c OH>\\sqlpatch/sqlpatch.pm line 417
BEGIN failed--compilation aborted at <19c OH>\\sqlpatch/sqlpatch.pm line 417.
Compilation failed in require at <19c OH>\\sqlpatch\sqlpatch.pl line 121.
BEGIN failed--compilation aborted at <19c OH>\\sqlpatch\sqlpatch.pl line 121.
"make_path" is not exported by the File::Path module
Can't continue after import errors at <19c OH>\\sqlpatch/sqlpatch.pm line 417
BEGIN failed--compilation aborted at <19c OH>\\sqlpatch/sqlpatch.pm line 417.
Compilation failed in require at <19c OH>\\sqlpatch\sqlpatch.pl line 121.
BEGIN failed--compilation aborted at <19c OH>\\sqlpatch\sqlpatch.pl line 121.
Linux Platform
./datapatch -verbose
/u01/app/oracle/product/19/db/sqlpatch/sqlpatch: line 91: 30593 Segmentation fault (core dumped) $ORACLE_HOME/perl/bin/perl -I$ORACLE_HOME/sqlpatch -I$ORACLE_HOME/rdbms/admin -I$ORACLE_HOME/sqlpatch/lib $ORACLE_HOME/sqlpatch/sqlpatch.pl $@
/u01/app/oracle/product/19/db/sqlpatch/sqlpatch: line 91: 30593 Segmentation fault (core dumped) $ORACLE_HOME/perl/bin/perl -I$ORACLE_HOME/sqlpatch -I$ORACLE_HOME/rdbms/admin -I$ORACLE_HOME/sqlpatch/lib $ORACLE_HOME/sqlpatch/sqlpatch.pl $@
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 |
Cause |
Solution |