Skip to content

Instantly share code, notes, and snippets.

@aboltart
Created December 3, 2012 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aboltart/4193407 to your computer and use it in GitHub Desktop.
Save aboltart/4193407 to your computer and use it in GitHub Desktop.
ruby-oci8 + ruby-2.0.0-preview2 32 bit error
Using ruby-oci8 (2.1.3) from http://github.com/kubo/ruby-oci8.git (at master) * Checking out revision: master
Successfully built RubyGem
Name: ruby-oci8
Version: 2.1.3
File: ruby-oci8-2.1.3.gem
with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/aabolts/.rvm/rubies/ruby-2.0.0-preview2/bin/ruby extconf.rb
checking for load library path...
DYLD_LIBRARY_PATH...
checking /Users/aabolts/Library/Oracle/instantclient... *** 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
--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/aabolts/.rvm/rubies/ruby-2.0.0-preview2/bin/ruby
--with-instant-client
--without-instant-client
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:123:in `initialize': RuntimeError (RuntimeError)
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:448:in `new'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:448:in `block in check_ic_dir'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:545:in `call'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:545:in `block in check_lib_in_path'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:535:in `each'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:535:in `check_lib_in_path'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:481:in `block in check_ic_dir'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:475:in `each'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:475:in `check_ic_dir'
from /Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:315:in `get'
from extconf.rb:18:in `<main>'
---------------------------------------------------
Error Message:
unknown file header: 00 00
Backtrace:
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:123:in `initialize'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:448:in `new'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:448:in `block in check_ic_dir'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:545:in `call'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:545:in `block in check_lib_in_path'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:535:in `each'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:535:in `check_lib_in_path'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:481:in `block in check_ic_dir'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:475:in `each'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:475:in `check_ic_dir'
/Users/aabolts/.rvm/gems/ruby-2.0.0-preview2@crmdata/bundler/gems/ruby-oci8-82724d943174/ext/oci8/oraconf.rb:315:in `get'
extconf.rb:18:in `<main>'
---------------------------------------------------
See:
* http://ruby-oci8.rubyforge.org/en/HowToInstall.html
* http://ruby-oci8.rubyforge.org/en/ReportInstallProblem.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment