Skip to content

Commit 31deba0

Browse files
committed
Document the updated Windows ODPI-C OCI.dll search path change
1 parent d9e3111 commit 31deba0

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

INSTALL.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ sudo mkdir -p /usr/lib/oracle/12.2/client64/lib/network/admin
334334
```
335335

336336
This is the default Oracle configuration directory for applications
337-
linked with this Instant Client.
337+
using this Instant Client.
338338

339339
Alternatively, if you use Oracle client configuration files, they can
340340
be put in another, accessible directory. Then set the environment
@@ -469,7 +469,7 @@ sudo mkdir -p /opt/oracle/instantclient_12_2/network/admin
469469
```
470470

471471
This is the default Oracle configuration directory for applications
472-
linked with this Instant Client.
472+
using this Instant Client.
473473

474474
Alternatively, if you use Oracle client configuration files, they can
475475
be put in another, accessible directory. Then set the environment
@@ -702,7 +702,7 @@ sudo mkdir -p /opt/oracle/instantclient_12_2/network/admin
702702
```
703703

704704
This is the default Oracle configuration directory for applications
705-
linked with this Instant Client.
705+
using this Instant Client.
706706

707707
Alternatively, if you use Oracle client configuration files, they can
708708
be put in another, accessible directory. Then set the environment
@@ -789,13 +789,19 @@ Download the free 64-bit Instant Client **Basic** ZIP file from
789789

790790
- Extract `instantclient-basic-windows.x64-12.2.0.1.0.zip`
791791

792-
- Add its directory to `PATH`. For example on Windows 7, update `PATH`
793-
in Control Panel -> System -> Advanced System Settings -> Advanced ->
794-
Environment Variables -> System variables -> `PATH` and add your path,
795-
such as `C:\oracle\instantclient_12_2`.
792+
- Add its directory to `PATH`. For example on Windows 7, update
793+
`PATH` in Control Panel -> System -> Advanced System Settings ->
794+
Advanced -> Environment Variables -> System variables -> `PATH` and
795+
add your path, such as `C:\oracle\instantclient_12_2`.
796796

797-
If you have multiple versions of Oracle libraries installed, make sure
798-
the desired version occurs first in the path before you run Node.js.
797+
If you have multiple versions of Oracle libraries installed, make
798+
sure the desired version occurs first in `PATH` before you run
799+
Node.js.
800+
801+
Alternatively move the unzipped Instant Client files to
802+
`node_modules\oracledb\build\Release` so the DLLs and other files
803+
are in the same directory as the `node.oracledb` binary. If you do
804+
this, then `PATH` does not need to be set.
799805

800806
#### 3.6.5 Optionally create the default Oracle Client configuration directory
801807

@@ -806,11 +812,10 @@ If you intend to co-locate optional Oracle configuration files such as
806812
this if needed.
807813

808814
This is the default Oracle configuration directory for applications
809-
linked with this Instant Client.
815+
using this Instant Client.
810816

811-
Alternatively, if you use Oracle client configuration files, they can
812-
be put in another, accessible directory. Then set the environment
813-
variable `TNS_ADMIN` to that directory name.
817+
Alternatively, configuration files can be put in another directory.
818+
Then set the environment variable `TNS_ADMIN` to that directory name.
814819

815820
#### <a name="winredists"> </a> 3.6.6 Install the Visual Studio Redistributables
816821

@@ -1068,7 +1073,7 @@ sudo mkdir -p /opt/oracle/instantclient_12_2/network/admin
10681073
```
10691074

10701075
This is the default Oracle configuration directory for applications
1071-
linked with this Instant Client.
1076+
using this Instant Client.
10721077

10731078
Alternatively, if you use Oracle client configuration files, they can
10741079
be put in another, accessible directory. Then set the environment
@@ -1187,7 +1192,7 @@ mkdir -p /opt/oracle/instantclient_12_2/network/admin
11871192
```
11881193

11891194
This is the default Oracle configuration directory for applications
1190-
linked with this Instant Client.
1195+
using this Instant Client.
11911196

11921197
Alternatively, if you use Oracle client configuration files, they can
11931198
be put in another, accessible directory. Then set the environment

0 commit comments

Comments
 (0)