we are trying to install Oracle Instant Client 10.2.0.2 for Solaris x86-64 in order to connect to an Oracle database on another server.
I downloaded and unzipped the required files into an /apps/oracle/instantclient_10_2 directory:
- instantclient-basic-hpux-ia64-32-10.2.0.2-20060428.zip
- instantclient-sdk-hpux-ia64-32-10.2.0.2-20060428.zip
- instantclient-sqlplus-hpux-ia64-32-10.2.0.2-20060428.zip
Created a symbolic link for some missing libraries:
- cd /apps/oracle/instantclient_10_2
- ln -s libclntsh.so.10.1 libclntsh.so
Then set the Library search path
- $ LD_LIBRARY_PATH=/app/oracle/instantclient_10_2
- $ export LD_LIBRARY_PATH
And now I am stuck, I know a tnsnames.ora file is needed but do not know where to place it (or if I should also have a sqlnet.ora file).
When I try executing sqlplus I get the following:
sqlplus
bash: /apps/oracle/instantclient_10_2/sqlplus: Invalid argument
Any help would be greatly appreciated.
Thx
Best Answer
Are you trying to install on Solaris or HP-UX? Your message says "Solaris x86-64" but your files list mentions -hpux-ia64- - different OS, different architecture. There's no way it'll work. If you're installing on Solaris, you need to download the appropriate (different) binaries from oracle.com.