Note that there are some explanatory texts on larger screens.

plurals
  1. POError using DBD::Oracle with instantclient 11.2
    text
    copied!<p>I Want to use perl module DBD::Oracle on Mac OS X 10.8. I installed DBI through CPAN. Downloaded the Oracle instant client 11.2 (basic, sqlplus and jdk). Extracted it to /usr/local/oracle.</p> <pre><code>$ ls /usr/local/oracle/instantclient_11_2/ BASIC_README libnnz11.dylib ojdbc6.jar SQLPLUS_README libocci.dylib.11.1 sdk adrci libociei.dylib sqlplus genezi libocijdbc11.dylib uidrvci glogin.sql libsqlplus.dylib xstreams.jar libclntsh.dylib libsqlplusic.dylib libclntsh.dylib.11.1 ojdbc5.jar </code></pre> <p>Then installed DBD::Oracle. Now when I want to use DBD::Oracle it gives an error.</p> <pre><code>install_driver(Oracle) failed: Can't load '/Library/Perl/5.12/darwin-thread-multi- 2level/auto/DBD/Oracle/Oracle.bundle' for module DBD::Oracle: dlopen(/Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/Oracle/Oracle.bundle, 1): Library not loaded: /ade/b/2649109290/oracle/rdbms/lib/libclntsh.dylib.11.1 Referenced from: /Library/Perl/5.12/darwin-thread-multi- 2level/auto/DBD/Oracle/Oracle.bundle Reason: image not found at /System/Library/Perl/5.12/darwin-thread-multi- 2level/DynaLoader.pm line 204. </code></pre> <p>I have DYLD_LIBRARY_PATH=/usr/local/oracle/instaclient_11_2 I have not a clue what I am doing wrong. </p> <p>SOLVED: I got the same error when trying to run sqlplus. I added my oracle client directory to my global PATH variable and it is working now. </p> <p>Saw they did the same in this tutorial: <a href="http://www.janhellevik.no/?p=521" rel="nofollow">http://www.janhellevik.no/?p=521</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload