199199cd /opt/oracle
200200unzip instantclient-basic-linux.x64-12.1.0.2.0.zip
201201unzip instantclient-sdk-linux.x64-12.1.0.2.0.zip
202- cd instantclient_12_1
202+ mv instantclient_12_1 instantclient
203+ cd instantclient
203204ln -s libclntsh.so.12.1 libclntsh.so
204205ln -s libocci.so.12.1 libocci.so
205206```
@@ -209,23 +210,23 @@ Make sure that `libaio` is installed.
209210To run applications, you will need to set the link path:
210211
211212```
212- export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_1
213+ export LD_LIBRARY_PATH=/opt/oracle/instantclient
213214```
214215
215216Alternatively, if there is no other Oracle software on the machine
216217that will be impacted, permanently add Instant Client to the run-time
217218link path. Do this on Linux by creating a file
218219` /etc/ld.so.conf.d/oracle-instantclient.conf ` that contains the library
219- location ` /opt/oracle/instantclient_12_1 ` , and then run ` ldconfig ` as
220+ location ` /opt/oracle/instantclient ` , and then run ` ldconfig ` as
220221the root user.
221222
222223### 3.4 Install the driver
223224
224225Tell the installer where you installed Instant Client:
225226
226227```
227- export OCI_LIB_DIR=/opt/oracle/instantclient_12_1
228- export OCI_INC_DIR=/opt/oracle/instantclient_12_1 /sdk/include
228+ export OCI_LIB_DIR=/opt/oracle/instantclient
229+ export OCI_INC_DIR=/opt/oracle/instantclient /sdk/include
229230```
230231
231232Run the installer:
@@ -405,12 +406,12 @@ export DYLD_LIBRARY_PATH=/opt/oracle/instantclient
405406### 5.5 Install the driver
406407
407408The installer will automatically locate Instant Client in
408- ` /opt/oracle/instantclient ` . If it elsewhere, tell the installer
409+ ` /opt/oracle/instantclient ` . If it is elsewhere, tell the installer
409410where to find it:
410411
411412```
412- export OCI_LIB_DIR=/whereever/instantclient_11_2
413- export OCI_INC_DIR=/whereever/instantclient_11_2 /sdk/include
413+ export OCI_LIB_DIR=/whereever/instantclient
414+ export OCI_INC_DIR=/whereever/instantclient /sdk/include
414415```
415416
416417Run the installer:
0 commit comments