Database Reference
In-Depth Information
In a 64-bit ORACLE_HOME , 64-bit shared libraries are located in $ORACLE_HOME/lib and 32-bit
libraries in $ORACLE_HOME/lib32 . Here's an example from an AIX system:
$ file $ORACLE_HOME/lib/libclntsh.so $ORACLE_HOME/lib32/libclntsh.so
/opt/oracle/product/10.2.0.2.1/ lib /libclntsh.so: 64-bit XCOFF executable or object
module not stripped
/opt/oracle/product/10.2.0.2.1/ lib32 /libclntsh.so: executable (RISC System/6000) or
object module not stripped
On a Solaris system, it might look as follows:
$ file $ORACLE_HOME/lib/libclntsh.so $ORACLE_HOME/lib32/libclntsh.so
/opt/oracle/product/10.2.0.2.1/ lib /libclntsh.so: ELF 64-bit MSB dynamic lib
SPARCV9 Version 1, dynamically linked, not stripped
/opt/oracle/product/10.2.0.2.1/ lib32 /libclntsh.so: ELF 32-bit MSB dynamic lib
SPARC Version 1, dynamically linked, not stripped
Finally, here's some output from a 64-bit Linux system:
file $ORACLE_HOME/lib/libclntsh.so* $ORACLE_HOME/lib32/libclntsh.so*
/opt/oracle10/app/oracle/product/10.2.0.2/db_rac/lib/libclntsh.so: symbolic
link to `libclntsh.so.10.1'
/opt/oracle10/app/oracle/product/10.2.0.2/db_rac/ lib /libclntsh.so.10.1: ELF 64-bit
LSB shared object, AMD x86-64 , version 1 (SYSV), not stripped
/opt/oracle10/app/oracle/product/10.2.0.2/db_rac/lib32/libclntsh.so: symbolic
link to `libclntsh.so.10.1'
/opt/oracle10/app/oracle/product/10.2.0.2/db_rac/ lib32 /libclntsh.so.10.1: ELF 32-bit
LSB shared object, Intel 80386 , version 1 (SYSV), not stripped
Now we are ready to set the platform-specific environment variable, which controls the
shared library search path. Table 22-1 lists the most common platforms and the name of the
variable on each platform. 3
Table 22-1. Shared Library Search Path Environment Variables per Platform
Operating System
Shared Library Search Path Environment Variable
LIBPATH
AIX
HP-UX 32-bit
SHLIB_PATH
LD_LIBRARY_PATH and SHLIB_PATH
HP-UX 64-bit
Linux
LD_LIBRARY_PATH
Mac OS X 3
DYLD_LIBRARY_PATH
Solaris
LD_LIBRARY_PATH
LD_LIBRARY_PATH
Tru64 UNIX
3.
Oracle10g Release 1 is available for Mac OS X. As of this writing, Oracle10g Release 2 is not planned for
Mac OS X.
 
Search WWH ::




Custom Search