From: Bharadwaj Srigiriraju Date: 2012-05-18T03:19:15+09:00 Subject: Re: problem installing TkRuby on ubuntu 12.04 Hidetoshi NAGAI wrote in post #1061107: > Maybe, it is an install trouble on your Tcl/Tk. > Does wish8.5 run properly? If not, please ask it at Ubuntu community. > Else, do you have multi-versions of libtk8.5.so on your machine? > If so, please check dependency of the old version of Tcl/Tk library > and remove (should test by rename, first) the old one. The installation process was ruby1.9.1 && tcl8.5 && tk8.5 && libtcltk-ruby1.9.1 one after the other, but when I require 'tk' in irb, same error messages come up. But, when I removed all those ruby1.9.1 packages and installed ruby1.8-full (which includes libtcltk-ruby1.8), it works! This is what irb shows when I have tcl8.5, rk8.5 with ruby1.8-full : require 'tk' => true Tk::TK_PATCHLEVEL => "8.5.11" But the same installation with ruby1.9.1 instead shows me the errors in OP instead when I require 'tk'... and that is the problem. BTW, is it possible to GUI program in ruby1.9.1 using tk8.5 on ubuntu? If someone did it, please tell me. Even though it works in ruby1.8.7, I want to shift to ruby1.9.1. BTW, when I installed ruby1.9.1 it shows us ruby --version 1.9.3p0 because, I think ruby1.9.1 packages in ubuntu ship with latest ruby interpreter that is 1.9.3 as given here: https://launchpad.net/ubuntu/+source/ruby1.9.1/1.9.3.0-1 (I was initially confused when I saw this... correct me if I am wrong somewhere.) -- Posted via http://www.ruby-forum.com/.