# Problem in making tk work with ruby 1.8.1

**URL:** <https://rubytalk.org/t/problem-in-making-tk-work-with-ruby-1-8-1/10781>\
**Category:** ruby-talk\
**Created:** [28 March 2004 23:15 UTC](https://rubytalk.org/t/problem-in-making-tk-work-with-ruby-1-8-1/10781 "2004-03-28T23:15:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Faiz](https://avatars.discourse-cdn.com/v4/letter/n/a5b964/32.png) [@Nick\_Faiz](https://rubytalk.org/u/Nick_Faiz)\
**Post date:** [28 March 2004 23:15 UTC](https://rubytalk.org/t/problem-in-making-tk-work-with-ruby-1-8-1/10781/1 "2004-03-28T23:15:33Z")

</div>

I’ve had the same issue also.

I googled a bit and eventually found an email which had solved it by  
installing the correct tcl and tk lib.s, which I then preceded to do.

I still have no joy with this option at home on Linux. It isn’t an issue on  
Windows.

Nick

> **···**
>
> -----Original Message-----  
> From: [elango@swissinfo.org](mailto:elango@swissinfo.org) [[mailto:elango@swissinfo.org](mailto:elango@swissinfo.org)]  
> Sent: Sunday, 28 March 2004 2:05 AM  
> To: [ruby-talk@ruby-lang.org](mailto:ruby-talk@ruby-lang.org)  
> Subject: problem in making tk work with ruby 1.8.1
> 
> i installed ruby-1.8.1 on edura and ruby works  
> individually tclsh and wish is also working  
> but when tried to use tk in ruby got the response as given below
> 
> [root@localhost ruby-1.8.1]# ruby  
> require ‘tk’  
> /usr/local/lib/ruby/1.8/tk.rb:7:in `require': No such file to load -- tcltklib (LoadError) from /usr/local/lib/ruby/1.8/tk.rb:7 from -:1:in`require’  
> from -:1
> 
> can any one knowledgeable help me  
> thank you  
> elangovan nambi
> 
> * * *
> 
> Dreaming of a Swiss Account? Get it here: [http://freemail.swissinfo.org](http://freemail.swissinfo.org)
