Backport #1942
closedirb not running after installation
Description
=begin
After installing ruby 1.9.1p243, ./configure, make, make test and make install
And changing my path I was not able to run irb properly
$ irb
dyld: lazy symbol binding failed: Symbol not found: _remove_history
Referenced from: /usr/local/lib/ruby/1.9.1/i386-darwin8.11.1/readline.bundle
Expected in: flat namespace
dyld: Symbol not found: _remove_history
Referenced from: /usr/local/lib/ruby/1.9.1/i386-darwin8.11.1/readline.bundle
Expected in: flat namespace
Trace/BPT trap
$ make test
...previous test deleted
test_proc.rb .................................bootstraptest.tmp.rb:5:in `': ok (RuntimeError)
.
test_struct.rb .
test_syntax.rb ...............................................................................................................................................
test_thread.rb ..............................................
PASS 935 tests
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb "./bootstraptest/runner.rb" --ruby="ruby" ./KNOWNBUGS.rb
2009-08-16 08:01:12 +0200
Driver is ruby 1.9.1 (2009-07-16 patchlevel 243) [i386-darwin8.11.1]
Target is ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin8.11.1]
I expected it to be correct, but
Running from
System version: Mac OS X 10.4.11 (8S2167)
Kernel version: Darwin 8.11.1
=end
Updated by philpirj (Philipp Pirozhkov) over 14 years ago
=begin
It's simple:
In readline.c
#if !defined HAVE_CLEAR_HISTORY
clear_history();
should be changed to
#if defined HAVE_CLEAR_HISTORY
clear_history();
and everything works fine.
Cheers, Phil
=end
Updated by shyouhei (Shyouhei Urabe) over 13 years ago
- Status changed from Open to Assigned
=begin
=end
Updated by kouji (Kouji Takao) over 12 years ago
- Tracker changed from Bug to Backport
- Status changed from Assigned to Closed
This issue should be fixed in r33626. I'm sorry for replying lately.