@@ -601,22 +601,31 @@ node select1.js
601
601
602
602
Node-oracledb binaries can be copied between compatible Windows systems.
603
603
604
- Both computers must have the same version and architecture of Node.js.
604
+ Both computers must also have the same version and architecture of Node.js.
605
605
606
- Oracle client libraries of the same architecture and the same, or
607
- higher, version used for building node-oracledb should be in the
608
- destination computer's ` PATH ` .
606
+ Oracle client libraries of the same architecture and the same version
607
+ used for building node-oracledb should be in the destination
608
+ computer's ` PATH ` .
609
609
610
610
After node-oracle has been built on the source computer, copy the
611
- ` node_modules/ oracledb ` directory to the destination computer's
611
+ ` node_modules\ oracledb ` directory to the destination computer's
612
612
` node_module ` directory.
613
613
614
- If node-oracledb was compiled using Visual Studio 2010 or higher, you
615
- will need to have the Visual C++ 2010 Redistributable installed on the
616
- destination computer. For older compilers, you will need the matching
617
- C++ redistributable version. For example, if you compiled with Visual
618
- Studio 2008, you will need the Visual Studio 2008 C++ Redistributable
619
- installed.
614
+ The destination computer's ` PATH ` needs to include Visual Studio
615
+ redistributables. If you used Oracle client 11.2 then the Visual
616
+ Studio 2005 restributable is required. For Oracle client 12.1, use
617
+ the Visual Studio 2010 redistributable.
618
+
619
+ You can also find out the version required by locating the library
620
+ ` OCI.DLL ` on the source computer and running:
621
+
622
+ ```
623
+ dumpbin /dependents oci.dll
624
+ ```
625
+
626
+ The version of ` MSVC*.DLL ` in the output indicates which
627
+ redistributable is required on the destination computer. For example,
628
+ if you see ` MSVCR100.dll ` then you need the VC++ 10 redistributable.
620
629
621
630
## <a name =" linuxadv " ></a > 8. Advanced Installation on Linux
622
631
0 commit comments