New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building on RHEL 6.2 with OCI 12.1.0.1.0 #71

Open
chiahrens opened this Issue Aug 15, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@chiahrens

chiahrens commented Aug 15, 2013

The build seems to be looking for lzzn(oci_version), and it doesn't seem to be installed by the Oracle client 12.1.0.1.0 for Linux.

OS is RHEL 6.2 64 bit.
Oracle client is Linux 64 bit 12.1.0.1.0.

I just removed it from binding.gyp, and everything builds and works fine.

Thanks

@raztus

This comment has been minimized.

Collaborator

raztus commented Sep 10, 2013

-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?)

@raztus raztus added the Install Issue label Nov 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment