Project

General

Profile

Actions

Backport #1942

closed

irb not running after installation

Added by remco (Remco Horst) over 14 years ago. Updated over 11 years ago.

Status:
Closed
[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

Actions #1

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

Actions #2

Updated by yugui (Yuki Sonoda) over 14 years ago

  • Assignee set to kouji (Kouji Takao)

=begin

=end

Actions #3

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0