Closed drudge closed 12 years ago
Been fighting this all day, same error. Are you Lion? Probably same issue as this https://github.com/mariano/node-db-oracle/issues/9
For Mac I was testing on Lion, however it doesn't explain why I get this error on Ubuntu.
I'm experiencing the same behavior on an Ubuntu 11.10 setup. Works for me if I set an environment variable LD_LIBRARY_PATH
:
$ LD_LIBRARY_PATH=/opt/instantclient/ node test.js
If this works you can do (as root):
$ cat > /etc/ld.so.conf.d/oracle.conf
/opt/instantclient
<ctrl-d>
$ ldconfig
geting the same issue on ubuntu 11.10. the shared library located at ./build/Release/oracle_bindings can not be loaded. any ideas. install seemed to go fine. Also,
LD_LIBRARY_PATH=/opt/instantclient/ node test.js
does not seem to work
I found the answer.
$ export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib/ <-- this is your oracle library path
and try again
Try this, it works for me:
sudo apt-get install libaio1
I've got the same problem as the OP and none of these suggestions have worked. I'm on Snow Leopard.
I didn't try install the full client. Is it possible to get working with instant client?
I have been trying to get this library working for a while now. I've attempted on Node 0.4.x as well as 0.6.x with no success. I can get the module built, however trying to use it yields an error message stating it can't load the shared library. Any assistance would be greatly appreciated.
My /opt/instantclient directory structure:
Installation via npm:
My test code (test.js):
And the error:
Versions: