I want to connect Oracle 11gR2 and Node.js 0.10.20. I use this package but I don't understand this part of installation process. Can you explain it to me?

# Replace /opt/instantclient_11_2/ with wherever you extracted the Basic Lite files to
echo '/opt/instantclient_11_2/' | sudo tee -a /etc/ld.so.conf.d/oracle_instant_client.conf
sudo ldconfig

This means that you have to include Oracle instant client libraries into the database used by Linux dynamic linker when it has to resolve run time bindings.

Instructions tells you to create new .conf file in /etc/ld.so.conf.d/ directory with the Oracle instant client libraries directory. And then you have to run ldconfig with root permissions so that it will create new database with the Oracle instant client libraries included.

Example from one of our servers:

# cat /etc/ld.so.conf.d/oracle.conf

.conf file name does not matter.

  • i do it , now what should i do to install packages ? – saeed.sh Oct 14 '13 at 12:33
  • You have to download and install Oracle instant client packages from oracle.com/technetwork/database/features/instant-client/… – Mindaugas Riauba Oct 14 '13 at 12:45
  • thanks . i download oracle instantclient and sdk . i insatll them on /opt/instantclient . what should i do ofter that ? which node packages are install ? thanks about your answers – saeed.sh Oct 15 '13 at 4:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.