Skip to content

Instantly share code, notes, and snippets.

/oci-issue-ml Secret

Created January 23, 2014 19:58
Show Gist options
  • Save anonymous/8e9c861f2b86ce83d96c to your computer and use it in GitHub Desktop.
Save anonymous/8e9c861f2b86ce83d96c to your computer and use it in GitHub Desktop.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/srijan/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb
checking for load library path...
DYLD_LIBRARY_PATH...
checking /usr/local/oracle/... yes
/usr/local/oracle/libclntsh.dylib.11.1 looks like an instant client.
checking for cc... ok
checking for gcc... yes
checking for LP64... yes
checking for sys/types.h... yes
checking for ruby header... ok
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/srijan/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby
--with-instant-client
--without-instant-client
./oraconf.rb:1025:in `initialize': RuntimeError (RuntimeError)
from ./oraconf.rb:318:in `new'
from ./oraconf.rb:318:in `get'
from extconf.rb:18
---------------------------------------------------
Error Message:
'/usr/local/oracle//sdk/include/oci.h' does not exist.
Install 'Instant Client SDK'.
Backtrace:
./oraconf.rb:1025:in `initialize'
./oraconf.rb:318:in `new'
./oraconf.rb:318:in `get'
extconf.rb:18
---------------------------------------------------
See:
* http://ruby-oci8.rubyforge.org/en/file.install-full-client.html for Oracle full client
* http://ruby-oci8.rubyforge.org/en/file.install-instant-client.html for Oracle instant client
* http://ruby-oci8.rubyforge.org/en/file.report-installation-issue.html to report an issue.
Gem files will remain installed in /Users/srijan/.rvm/gems/ree-1.8.7-2012.02/gems/ruby-oci8-2.1.6 for inspection.
Results logged to /Users/srijan/.rvm/gems/ree-1.8.7-2012.02/gems/ruby-oci8-2.1.6/ext/oci8/gem_make.out
An error occurred while installing ruby-oci8 (2.1.6), and Bundler cannot continue.
Make sure that `gem install ruby-oci8 -v '2.1.6'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment