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:
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