Closed medokin closed 9 years ago
Does it work when you start node with env LD_LIBRARY_PATH=/a/b/c node app.js
, where /a/b/c
is the directory containing libocci.so.11.1? Can you post the output of ldd node_modules/strong-oracle/build/Release/oracle_bindings.node
?
It works when I start it with with the libary path.
Here the output you asked for.
$ ldd node_modules/strong-oracle/build/Release/oracle_bindings.node
linux-vdso.so.1 => (0x00007fff232e5000)
libocci.so.11.1 => not found
libclntsh.so.11.1 => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f0177612000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f01773fc000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0177036000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0176d2f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0177b59000)
How can the it be build when the libs are not found?
Right, the directory containing libocci.so.11.1 is not in the set of default linker paths. There is a note in the README explaining how to add it to the ld.so cache but you can keep using the LD_LIBRARY_PATH workaround if you prefer.
I see now that there is a typo in my ld.so.conf.d file. It works now after replacing ~
with an absolute path.
Sorry, my mistake. Thanks for your time!
RESOLVED:
Nice, cheers. :-)
Hi,
I get this error when i try to run my application:
The build was successful:
Linux Mint 64bit Node: v0.10.32 NPM: 1.4.28