|
Oracle ODBC Instant Client
for Unix Release Notes
Release 10.2.0.5.0
|
|
ODBC Instant Client
Release Notes
Release 10.2.0.5.0
Feb 2009
1 ODBC Instant Client
Oracle ODBC Instant
Client for Unix systems complies with ODBC 3.52 specifications. It is based on
features of Oracle 10.2.0.5.0 ODBC driver for Windows, without the need
for a traditional ORACLE_HOME installation.
Note: See Oracle Call Interface Programmer's Guide
for information on OCI Instant Client.
1.1 Pre installation task – Install ODBC DM from unixODBC.org
Please
install ODBC Driver Manager after downloading .tar file from
http://www.unixodbc.org/
1.2 Installing ODBC Instant Client
- Download the Basic Instant
Client and ODBC Instant Client packages from the Oracle
Technology Network Instant Client page. The two packages must be
unzipped into same directory. For example, C:\Oracle\instantclient_10_2.
- Basic Instant Client
is a prerequisite for installing the ODBC Instant Client.
- ODBC Instant Client
package has the following file/shared libraries
|
File name
|
Description
|
libsqora.so.10.1
|
ODBC Driver shared library
|
ODBCRelnotesUS.htm
|
Release notes
|
ODBCRelnotesJA.htm
|
Japanese release notes
|
ODBC_IC_Readme_Unix.html
|
ODBC Instant Client for Unix release notes (this one)
|
odbc_update_ini.sh
|
ODBC Instant Client install script to update .ini files
|
- Make sure Basic Instant
Client is deployed before running the ODBC install script.
- Unzip the ODBC Instant Client
package, then execute the odbc_update_ini.sh script with Driver Manager
installed directory as a command line argument as follows (where
Driver Manager is installed in /home/DriverManager directory):
$ odbc_update_ini.sh /home/DriverManger
The utility “odbc_update_ini.sh” takes four command-line
arguments
- arg-1 : Complete path where
unixODBC DM has been installed.
- arg-2 : Complete path of
driver install location (optional); if this argument is not passed, the
driver path is set to the directory from where the utility is run.
- arg-3 : Driver name
(optional); if this argument is not passed, driver name is set to “Oracle
10g ODBC driver”.
- arg-4 : Data Source Name
(optional); if no value is passed, DSN is set to “OracleODBC-10g”.
- It will add the DSN
entry in $HOME/.odbc.ini and <DriverManager_HOME>/etc/odbcinst.ini
with DSN name as OracleODBC-10g
- After the installation
the environment needs to be configured in the following way:
- Add the directory to
the LD_LIBRARY_PATH system environment variable; otherwise, ODBC manager
will be not able to load/find the driver.
- Define the TNS_ADMIN
to point the .ora files directory for OCI
- This needs to be set
for OCI to resolve the TNS name.
- If TNS_ADMIN is not
set, OCI will examine an operating system dependent set of directories
to find tnsnames.ora. This search path includes looking in the
directory $ORACLE_HOME/network/admin/tnsnames.ora. This is the
only reason to set the ORACLE_HOME environment variable for Oracle
Instant Client. If ORACLE_HOME is set when running Instant Client
applications, it must be set to a directory where Instant Client exists.
- Set any Oracle
globalization variables required for your locale. See the Oracle
Database 10g Globalization Support Guide for more information.
- For example on Linux
to set NLS_LANG:
- setenv NLS_LANG
JAPANESE_JAPAN.JA16EUC
1.3 Uninstalling ODBC Instant Client
- Update ~/.odbc.ini file:
- Remove DSN entry
(e.g., “OracleODBC-10g”) from [ODBC Data Sources]
- Remove complete DSN
information for corresponding DSN
- Update
$DM_HOME/etc/odbcinst.ini file:
- Remove driver information
for "Oracle 10g ODBC Driver"
- Remove Oracle ODBC driver for
Unix systems
- Reset any environment
variables such as PATH and TNS_ADMIN.
1.4 Bugs Fixed
- Please refer ODBC Readme.txt.