[groonga-dev,00398] ServersMan @ VPSでrroongaをインストールしようとしてエラー

Back to archive index

ongaeshi ongaeshi ongae****@gmail*****
2010年 11月 13日 (土) 23:10:19 JST


こんにちは、ongaeshiと申します。

SeversMan @ VPS環境(CentOS)にて、
rroongaをインストールしようとしてエラーが起きました。

/usr/local/lib/ruby/1.8/dl/import.rb:29:in `initialize':
/usr/lib/libruby-static.a: invalid ELF header (RuntimeError)

というのがどのような状況で起きるエラーなのか分からず困っています。

似たような状況のあった方、いらっしゃらないでしょうか?
ちょっとしたことでも教えて頂けると嬉しいです。

--- ここから ---
$ sudo gem install rroonga
Building native extensions.  This could take a while...
ERROR:  Error installing rroonga:
    ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install rroonga
checking for groonga version (>= 1.0.0)... *** 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=/usr/local/bin/ruby
    --with-pkg-config
    --without-pkg-config
/usr/local/lib/ruby/1.8/dl/import.rb:29:in `initialize':
/usr/lib/libruby-static.a: invalid ELF header (RuntimeError)
    from /usr/local/lib/ruby/1.8/dl/import.rb:29:in `dlopen'
    from /usr/local/lib/ruby/1.8/dl/import.rb:29:in `dlload'
    from /usr/local/lib/ruby/1.8/dl/import.rb:27:in `each'
    from /usr/local/lib/ruby/1.8/dl/import.rb:27:in `dlload'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:212:in
`search_pkg_config_by_dln_find_exe'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:205:in
`module_eval'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:205:in
`search_pkg_config_by_dln_find_exe'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:249:in
`guess_default_path'
    from /usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:29:in
`initialize'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:267:in `new'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:267:in
`package_config'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:271:in
`exist?'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:295:in
`check_version?'
    from
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/pkg-config.rb:313:in
`have_package'
    from extconf.rb:99


Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.8/gems/rroonga-1.0.1/gem_make.out
--- ここまで ---


/**********************************
 ongaeshi
 MAIL: ongae****@gmail*****
 WEB:  http://d.hatena.ne.jp/tuto0621/
 Twitter: http://twitter.com/ongaeshi
 ********************************/



groonga-dev メーリングリストの案内
Back to archive index