Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

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
share|improve this question
add comment

1 Answer

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
/usr/lib/oracle/11.2/client64/lib/

.conf file name does not matter.

share|improve this answer
    
thanks for your answer –  saeed.sh Oct 14 '13 at 12:32
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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