From: "postmodern (Hal Brodigan)" <postmodern.mod3@...>
Date: 2012-11-02T12:43:03+09:00
Subject: [ruby-core:48734] [ruby-trunk - Bug #7263] ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64


Issue #7263 has been updated by postmodern (Hal Brodigan).


Nevermind, close this! Built ruby 2.0.0-preview1 manually and that fixed the problem.
----------------------------------------
Bug #7263: ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
https://bugs.ruby-lang.org/issues/7263#change-32206

Author: postmodern (Hal Brodigan)
Status: Open
Priority: Normal
Assignee: 
Category: build
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-01 trunk 37411) [x86_64-linux]


I just installed ruby 2.0.0-preview1 using ruby-build [1] on Fedora 17 x86-64. However, it appears ./configure did not detect Fedora's readline 6.2 (/usr/lib64/libreadline.so.6 and /usr/include/readline/):

    $ ruby-build -k 2.0.0-preview1 /usr/local/ruby-2.0.0-preview1
    $ chruby_use /usr/local/ruby-2.0.0-preview1
    $ irb
    >> require 'irb/completion'
    LoadError: cannot load such file -- readline
	from /usr/local/ruby-2.0.0-preview1/lib/ruby/2.0.0/rubygems/custom_require.rb:36:in `require'

[1]: https://github.com/sstephenson/ruby-build/blob/master/share/ruby-build/2.0.0-preview1


-- 
http://bugs.ruby-lang.org/