2 Replies Latest reply on Mar 15, 2012 11:54 AM by Sudheendra-Oracle

    newbie questions on installing Oracle Instant Client on Linux

    tem
      I downloaded the Linux 86-64bit Instant Client (Basic Lite) for 11.2.0.2.0 from here:

      http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

      I assume the only installation instructions available are at the bottom of the above link (basically 3 simple steps are shown). If I'm wrong, could someone point me to the right document(s)?

      The server I will install this client is on Linux, Centos 6.2, which is 64 bit. My interest in the client is for the shared libraries that are required by OCILIB when compiling.

      QUESTION 1: Does it matter whether this installation is done by root, or by a specific user? I have two users needing to access the Instant Client's shared libraries for compiling into c programs.

      What's the best way to install? (e.g. can I get by installing as one of these two users, or does it have to be root that does the install so they both can use the client)?

      QUESTION 2: If I'm on a Linux server, and I'm developing C programs to interface with an Oracle 11.2 database, do I also need to install the "SDK" package?

      QUESTION 3: I assume the Oracle shared libraries are all 64 bit. Thus, when I compile these libraries into my application, do I need to specifically set the CFLAGS with a "-m64" setting? Or, will this be the setting used by default?

      Edited by: tem on Mar 13, 2012 5:41 PM