GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
The build seems to be looking for lzzn(oci_version), and it doesn't seem to be installed by the Oracle client 126.96.36.199.0 for Linux.
OS is RHEL 6.2 64 bit.
Oracle client is Linux 64 bit 188.8.131.52.0.
I just removed it from binding.gyp, and everything builds and works fine.
-lnnz<(oci_version) refers to libnnz[version].so, which comes with the instant client basic package. By default the binding.gyp looks for libnnz11.so, but you can set the environment variable OCI_VERSION to "10" or "12" to override that. This is probably the cause of your issue: because you're using OCI 12, you need to set that environment variable with the value "12".
However, you are correct that the module builds and executes correctly even if the flag -lnnz<(oci_version) is removed. Maybe someone else knows why we explicitly link to it? (Perhaps it's necessary on some systems?)