I’m trying to build the ruby-oci8 with the Oracle Instant Client on OS
X. The Instant Client works, and the make seems to be ok with it up
until OCIInitialize(). Anybody got this to work?
[relevant output]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /
Users/dmholmes/Desktop/ruby-oci8-1.0.0-rc2/ext/oci8/extconf.rb
checking for load library path… (DYLD_LIBRARY_PATH)… /opt/oracle/
instantclient10_1/libclntsh.dylib.10.1 looks like an instant client.
checking for cc… ok
checking for gcc… yes
checking for LP64… no
checking for ruby header… ok
checking for OCIInitialize() in oci.h… no
error messages:
Could not compile with Oracle instant client.
You may need to set a environment variable:
DYLD_LIBRARY_PATH=/opt/oracle/instantclient10_1
export DYLD_LIBRARY_PATH