Opened 14 years ago

Closed 14 years ago

#23500 closed defect (fixed)

ruby19 +mactk does also not work

Reported by: linneman@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: Konrad.Linnemann@…
Port: ruby19

Description (last modified by mf2k (Frank Schima))

sudo port install ruby19 +mactk +c_api_docs
irb1.9

dlopen(/opt/local/lib/ruby1.9/1.9.1/i386-darwin10/tcltklib.bundle, 9): Symbol not found: _Tk_Init
  Referenced from: /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/tcltklib.bundle
  Expected in: flat namespace
 in /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/tcltklib.bundle - /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/tcltklib.bundle
	from /opt/local/lib/ruby1.9/1.9.1/tk.rb:6:in `require'
	from /opt/local/lib/ruby1.9/1.9.1/tk.rb:6:in `<top (required)>'
	from (irb):1:in `require'
	from (irb):1
	from /opt/local/bin/irb1.9:12:in `<main>'

refer also to #23498

Change History (3)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: febeling@… removed
Description: modified (diff)
Keywords: ruby19 mactk tk removed
Owner: changed from macports-tickets@… to febeling@…

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Owner: changed from febeling@… to kimuraw@…

comment:3 Changed 14 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

It seems this problem has been fixed at 1.9.2-p0

% sudo port -n upgrade --force --enforce-variants ruby19 +mactk -tk
% port installed ruby19 | grep active
  ruby19 @1.9.2-p0_1+mactk (active)
% otool -L /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10/tcltklib.bundle | grep -i tk
/opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10/tcltklib.bundle:
	/System/Library/Frameworks/Tk.framework/Versions/8.5/Tk (compatibility version 8.5.0, current version 8.5.7)
% DYLD_PRINT_LIBRARIES=1 ruby1.9 -rtk -e '' 2>&1 | grep -i tk 
dyld: loaded: /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10/tcltklib.bundle
dyld: loaded: /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk
dyld: loaded: /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin10/tkutil.bundle
%

Note: See TracTickets for help on using tickets.