|
|
Install Perl module DBD::Oracle on Intel macs.
This is a great article, and it helped me immensely. FINALLY, I can store and develop my Oracle-backended perl applications on my laptop instead of remotely on a Unix system.
A note that might help many: the 10.1 version of instanctclient was built incorrectly, and has a hardcoded link to a library on some developer's workstation somewhere out in Oracle land. (Don't ask me how their QA missed this.) If, when loading DBD::Oracle, you get some noise like "dyld: Library not loaded: /b/729/rdbms/lib/libclntsh.dylib.10.1", it just means that the Oracle bundle wants it's buddy /b/729/rdbms/lib/libclntsh.dylib.10.1 and can't find it. A simple (but not particularly elegant) workaround is to just give it what it wants by putting a symlink to that library in that location. The following commands should do it (execute in the terminal). You must replace INSTALLDIR with the path to wherever you installed the instantclient; if you're really not sure, simply navigate to the instant client directory in the finder and just drop libclntsh.dylib.10.1 into the terminal window when you get to that part of the command (in which case you don't need to type the filename part either).
sudo mkdir -p /b/729/rdbms/lib/
Install Perl module DBD::Oracle on Intel macs.
The alternative that I found is to use the DYLD_LIBRARY_PATH (MacOS equivalent of LD_LIBRARY_PATH on other unixes). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|