Patching Oracle Instant Client Shared Libraries
Learn how to patch Oracle Instant Client shared libraries with a complete Oracle Database Client installation.
You must rebuild your Oracle Instant Client packages and libraries as part of the patching process.
- Patching Oracle Instant Client
Perform the following steps to patch Oracle Instant Client. - About Rebuilding Oracle Instant Client Packages and Libraries
Separatemakefile
targets are used to create the data shared libraries, zip files, and RPM files either individually or all together. - Regenerating Data Shared Libraries
Learn how to regenerate the Oracle Instant Client data shared librarieslibociei.so
andlibociicus.so
. - Regenerating Zip Files and RPM Files
Learn how to regenerate the zip files and RPM files for the various Oracle Instant Client packages.
Parent topic: Installing Oracle Instant Client
Patching Oracle Instant Client
Perform the following steps to patch Oracle Instant Client.
- Complete a full Oracle Database Client Administration installation based on Oracle home for patching.
- Apply the patch to your full Oracle Database Client Administration installation using the
OPatch
utility. - Regenerate the data shared libraries, zip files, and RPM files.
- Copy the data shared libraries, zip files, and RPM files to the target system and unzip them to the Oracle Instant Client directory.
The OPatch
utility stores the patching information of the ORACLE_HOME installation in libclntsh.so
. You can retrieve this patching information using the genezi -v
command.
If the Oracle Instant Client deployment system does not have the genezi
utility, copy it from the $ORACLE_HOME/bin
directory.
Related Topics
Parent topic: Patching Oracle Instant Client Shared Libraries
About Rebuilding Oracle Instant Client Packages and Libraries
Separate makefile
targets are used to create the data shared libraries, zip files, and RPM files either individually or all together.
Regenerating the data shared libraries requires both a compiler and a linker, which may not be available on all installations.
The regenerated Oracle Instant Client binaries contain only the Oracle Instant Client files installed in the Oracle Client Administrator Home from which you regenerate the libraries and files. Hence, error messages, character set encodings, and time zone files that are available in the regeneration environment are the only ones that are packaged in the data shared libraries. Error messages, character set encodings, and time zone files depend on which national languages were selected for the installation of the Oracle Client Administrator Home.
Note:
Regeneration of data shared libraries, zip files, and RPM files is not available on Microsoft Windows.Parent topic: Patching Oracle Instant Client Shared Libraries
Regenerating Data Shared Libraries
Learn how to regenerate the Oracle Instant Client data shared libraries libociei.so
and libociicus.so
.
libociei.so
and libociicus.so
using the following commands in an Administrator install of a full Oracle Database Client:
Parent topic: Patching Oracle Instant Client Shared Libraries
Regenerating Zip Files and RPM Files
Learn how to regenerate the zip files and RPM files for the various Oracle Instant Client packages.
Before you regenerate the zip files and RPM files, install the rpm-build
package.
For Oracle Linux 7:
$ sudo yum install rpm-build
For Oracle Linux 8 and later:
$ sudo dnf install rpm-build
Table 6-5 Commands to Regenerate the Zip Files and RPM Files
Package Name | Commands |
---|---|
All Packages |
|
Basic |
|
Basic Light |
|
JDBC |
|
ODBC |
|
SQL*Plus |
|
Tools |
|
SDK |
|
Precompilers |
|
$ORACLE_HOME/rdbms/install/instantclient
directory.
Parent topic: Patching Oracle Instant Client Shared Libraries