199
199
cd /opt/oracle
200
200
unzip instantclient-basic-linux.x64-12.1.0.2.0.zip
201
201
unzip instantclient-sdk-linux.x64-12.1.0.2.0.zip
202
- cd instantclient_12_1
202
+ mv instantclient_12_1 instantclient
203
+ cd instantclient
203
204
ln -s libclntsh.so.12.1 libclntsh.so
204
205
ln -s libocci.so.12.1 libocci.so
205
206
```
@@ -209,23 +210,23 @@ Make sure that `libaio` is installed.
209
210
To run applications, you will need to set the link path:
210
211
211
212
```
212
- export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_1
213
+ export LD_LIBRARY_PATH=/opt/oracle/instantclient
213
214
```
214
215
215
216
Alternatively, if there is no other Oracle software on the machine
216
217
that will be impacted, permanently add Instant Client to the run-time
217
218
link path. Do this on Linux by creating a file
218
219
` /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
220
221
the root user.
221
222
222
223
### 3.4 Install the driver
223
224
224
225
Tell the installer where you installed Instant Client:
225
226
226
227
```
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
229
230
```
230
231
231
232
Run the installer:
@@ -405,12 +406,12 @@ export DYLD_LIBRARY_PATH=/opt/oracle/instantclient
405
406
### 5.5 Install the driver
406
407
407
408
The 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
409
410
where to find it:
410
411
411
412
```
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
414
415
```
415
416
416
417
Run the installer:
0 commit comments