Ruby的OCI8寶石與以下錯誤消息失敗,而在Ubuntu Linux操作系統內置的Oracle版本,即使我有我的LD_LIBRARY_PATH和ORACLE_HOME設置爲正確的道路。錯誤消息:無法從SQLPLUS
*從...的SQLPlus /ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/extconf.rb 獲取Oracle版本失敗無法創建Makefile文件由於某些原因,可能是缺乏必要的 庫和/或標題。檢查mkmf.log文件以獲取更多 的詳細信息。您可能需要配置選項。
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=/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8
--curdir
--ruby=/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby2.1/export/bin/ruby
--with-instant-client
--without-instant-client
/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf.rb:834:in `get_version': RuntimeError (RuntimeError)
from /ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf.rb:783:in `initialize'
from /ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf.rb:320:in `new'
from /ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf.rb:320:in `get'
from /ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/extconf.rb:22:in `<main>'
錯誤消息:
不能從SQLPLUS回溯獲得Oracle版本:
/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2 .1/ext/oci8/oraconf.rb:834:inget_version'
initialize'
/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf.rb:783:in
/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf .RB:320:在new'
得到」
/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/oraconf.rb:320:in
/ghostcache/nightly_build/components/ruby-oci8/akamai/ruby-oci8/ruby-oci8-2.2.1/ext/oci8/extconf.rb:22:in `'*
任何想法這裏缺少什麼?