@@ -32,11 +32,10 @@ The Oracle Database Node.js driver node-oracledb powers high performance Node.js
3232The steps below create a Node.js installation for testing. Adjust the
3333steps for your environment.
3434
35- This node-oracledb release currently works only with Node.js 0.10. It
36- has been tested with 0.10.35 on 64-bit Oracle Linux and Windows. The
37- driver can also build in some Mac OS X, 32-bit Linux, 32-bit Windows,
38- Solaris and AIX environments, but these architectures have not been fully
39- tested.
35+ This node-oracledb release has been tested with Node 0.10 and 0.12 on
36+ 64-bit Oracle Linux and Windows. The driver can also build in some
37+ Mac OS X, 32-bit Linux, 32-bit Windows, Solaris and AIX environments,
38+ but these architectures have not been fully tested.
4039
4140### Prerequisites
4241
@@ -81,20 +80,18 @@ install Oracle Linux yourself, it is free from
8180### 2.1 Install Node.js
8281
8382Download the
84- [ Node.js 0.10 Linux 64-bit binaries] ( http://nodejs.org/download/ ) and
83+ [ Node.js Linux 64-bit binaries] ( http://nodejs.org/download/ ) and
8584extract the file, for example into ` /opt ` :
8685
8786```
8887cd /opt
89- tar -zxf node-v0.10.38 -linux-x64.tar.gz
88+ tar -zxf node-v0.12.4 -linux-x64.tar.gz
9089```
9190
92- This node-oracledb release currently works only with Node.js 0.10.
93-
9491Set PATH to include Node.js:
9592
9693```
97- export PATH=/opt/node-v0.10.38 -linux-x64/bin:$PATH
94+ export PATH=/opt/node-v0.12.4 -linux-x64/bin:$PATH
9895```
9996
10097### 2.2 Install the free Oracle Instant Client RPMs
@@ -120,13 +117,19 @@ Install node-oracledb from the
120117npm install oracledb
121118```
122119
123- Node-oracledb will automatically configured to use the highest version
120+ Node-oracledb will automatically be configured to use the highest version
124121Instant Client RPMs installed. To use a different version, follow the
125122instructions to
126123[ install on Linux with Instant Client ZIP files] ( #instzip ) instead,
127124setting ` OCI_LIB_DIR ` and ` OCI_INC_DIR ` to the appropriate
128125directories.
129126
127+ If you have other Oracle software installed on the same machine, and
128+ the runtime linker is configured to find this other software via
129+ ` LD_LIBRARY_PATH ` or ` ldconfig ` , then update the environment to use
130+ the Instant Client RPM libraries, for example
131+ ` /usr/lib/oracle/12.1/client64/lib ` .
132+
130133### 2.4 Run an example program
131134
132135Download the
@@ -154,20 +157,18 @@ node select1.js
154157### 3.1 Install Node.js
155158
156159Download the
157- [ Node.js 0.10 Linux 64-bit binaries] ( http://nodejs.org/download/ ) and
160+ [ Node.js Linux 64-bit binaries] ( http://nodejs.org/download/ ) and
158161extract the file, for example into ` /opt ` :
159162
160163```
161164cd /opt
162- tar -zxf node-v0.10.38 -linux-x64.tar.gz
165+ tar -zxf node-v0.12.4 -linux-x64.tar.gz
163166```
164167
165- This node-oracledb release currently works only with Node.js 0.10.
166-
167168Set PATH to include Node.js:
168169
169170```
170- export PATH=/opt/node-v0.10.38 -linux-x64/bin:$PATH
171+ export PATH=/opt/node-v0.12.4 -linux-x64/bin:$PATH
171172```
172173
173174### 3.2 Install the free Oracle Instant Client ZIPs
@@ -265,20 +266,18 @@ Oracle Database.
265266### 4.1 Install Node.js
266267
267268Download the
268- [ Node.js Linux 0.10 64-bit binaries] ( http://nodejs.org/download/ ) and
269+ [ Node.js Linux 64-bit binaries] ( http://nodejs.org/download/ ) and
269270extract the file, for example into ` /opt ` :
270271
271272```
272273cd /opt
273- tar -zxf node-v0.10.38 -linux-x64.tar.gz
274+ tar -zxf node-v0.12.4 -linux-x64.tar.gz
274275```
275276
276- This node-oracledb release currently works only with Node.js 0.10.
277-
278277Set your PATH variable to include Node.js:
279278
280279```
281- export PATH=/opt/node-v0.10.38 -linux-x64/bin:$PATH
280+ export PATH=/opt/node-v0.12.4 -linux-x64/bin:$PATH
282281```
283282
284283### 4.2 Install the driver
@@ -342,14 +341,12 @@ Building node-oracledb requires Xcode from the Mac App store.
342341
343342### 5.2 Install Node.js
344343
345- Node.js 0.10 can be installed from various sources, such as via * brew* .
344+ Node.js can be installed from various sources, such as via * brew* .
346345
347346```
348- brew install node010
347+ brew install node
349348```
350349
351- This node-oracledb release currently works only with Node.js 0.10.
352-
353350Set your PATH to include the * node* and * npm* binaries:
354351
355352```
@@ -449,12 +446,10 @@ use a 32-bit stack during build and run time.
449446
450447### 6.2 Install Node.js
451448
452- Install the 64-bit Node.js 0.10 MSI (e.g. node-v0.10.38 -x64.msi) from
449+ Install the 64-bit Node.js MSI (e.g. node-v0.12.4 -x64.msi) from
453450[ nodejs.org] ( http://nodejs.org/download/ ) . Make sure the option to
454451add the Node and npm directories to the path is selected.
455452
456- This node-oracledb release currently works only with Node.js 0.10.
457-
458453### 6.3 Install the free Oracle Instant Client ZIPs
459454
460455Skip this step if you already have Oracle Database or the full Oracle client on your machine.
@@ -476,9 +471,8 @@ version first in the path.
476471### 6.4 Install the driver
477472
478473Start Visual Studio and open a Developer Command Prompt within it.
479-
480- If you instead decide to use command shell outside Visual Studio, then
481- run ` vcvars64.bat ` or ` vcvars.bat ` (for 32-bit builds).
474+ (If you instead decide to use a command shell outside Visual Studio, then
475+ run ` vcvars64.bat ` for 64-bit builds or ` vcvars.bat ` for 32-bit builds).
482476
483477Use ` set PATH ` in the shell to confirm the Python, Node.js and Oracle
484478directories are correctly set. If they are not, then set PATH
0 commit comments