Instant Client Libraries for OCI

Learn about the Oracle Database client-side files used by Oracle Call Interface (OCI) applications.

Table 6-2 Instant Client Basic Package Shared Libraries for OCI

File Name Description

oci.dll

Forwarding functions that applications link with

oraociei21.dll

Data and code

orannzsbb21.dll

Security Library

oci.sym

oraociei21.sym

orannzsbb21.sym

Symbol tables

Table 6-3 Instant Client Basic Light Package Shared Libraries for OCI

File Name Description

oci.dll

Forwarding functions that applications link with

oraociicus21.dll

Data and code

orannzsbb21.dll

Security Library

oci.sym

oraociicus21.sym

orannzsbb21.sym

Symbol tables

Guidelines for Basic and Basic Light Packages

  • The libraries must reside in the same directory in order to use Oracle Instant Client.
  • Other libraries and utilities are available when you install Oracle Instant Client, but are not needed for OCI runtime use. For example, you can delete files such as liboramysql21.so and ojdbc8.jar.
  • In general, all OCI functionality is available to applications run using Oracle Instant Client, except that the Instant Client is for client-side operations only. Therefore, server-side external procedures cannot use Oracle Instant Client libraries.

Guidelines for Running OCI Applications

  • You should have only one set of Oracle libraries in the operating system library search path. If you have multiple directories containing Oracle Instant Client libraries, then only one such directory should be in the operating system library search path.

  • If an Oracle Database installation or full Oracle Database Client installation exists on the same system, then you should not have ORACLE_HOME\bin and the Oracle Instant Client directory on the operating system library search path simultaneously regardless of the order in which they appear in the operating system library search path. Either the ORACLE_HOME\bin directory (for non-Instant Client operations) or Oracle Instant Client directory (for Oracle Instant Client operations) should be in the operating system library search path variable, but not both.

  • If you intend to colocate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora, ldap.ora, or oraaccess.xml with Oracle Instant Client, then move these files to the network\admin subdirectory.