I\'m trying to install ruby-oci8 on OS X.
I\'ve tried installing both with and without sudo
.
Error Message without sudo
:
On OS X Sierra, I was unable to set DYLD_LIBRARY_PATH due to system integrity protection (https://forums.developer.apple.com/thread/13161), so I copied all oracle's instant client files to /users/.../lib, since it has a fallback to some directories including this one:
...
checking the default value of DYLD_FALLBACK_LIBRARY_PATH...
checking /Users//lib... no
checking /usr/local/lib... no
checking /lib... no
checking /usr/lib... no
...
And the gem installed successfully!
cp -R /opt/oracle/instantclient_11_2/* /users/..username../lib
gem install ruby-oci8
Building native extensions. This could take a while...
Successfully installed ruby-oci8-2.2.2
1 gem installed