Project

General

Profile

Backport #1942

irb not running after installation

Added by remco (Remco Horst) about 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:24935]

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

History

#1

Updated by philpirj (Philipp Pirozhkov) almost 10 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

#2

Updated by yugui (Yuki Sonoda) almost 10 years ago

  • Assignee set to kouji (Kouji Takao)

=begin

=end

#3

Updated by shyouhei (Shyouhei Urabe) about 9 years ago

  • Status changed from Open to Assigned

=begin

=end

Updated by kouji (Kouji Takao) almost 8 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.

Also available in: Atom PDF