# (unknown)

**URL:** <https://rubytalk.org/t/unknown/10739>\
**Category:** ruby-talk\
**Created:** [25 March 2004 10:51 UTC](https://rubytalk.org/t/unknown/10739 "2004-03-25T10:51:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sabyasachi\_Mustafi](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@Sabyasachi\_Mustafi](https://rubytalk.org/u/Sabyasachi_Mustafi)\
**Post date:** [25 March 2004 10:51 UTC](https://rubytalk.org/t/unknown/10739/1 "2004-03-25T10:51:28Z")

</div>

Hello,  
I am using Ruby 1.6.8 in FreeBSD. But it is showing an error as given in the following. I have just installed Ruby. Does it needed to install anthing more to use tk?? Please help me as soon as possible.

Thanking you,  
Sabyasachi Mustafi

/usr/local/lib/ruby/1.6/tk.rb:7:in `require': No such file to load -- tcltklib (LoadError) from /usr/local/lib/ruby/1.6/tk.rb:7 from Pilot.rb:2:in`require’  
from Pilot.rb:2

---

<div class="post-metadata">

**Author:** ![Mark\_Hubbart](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@Mark\_Hubbart](https://rubytalk.org/u/Mark_Hubbart)\
**Post date:** [25 March 2004 20:31 UTC](https://rubytalk.org/t/unknown/10739/2 "2004-03-25T20:31:16Z")

</div>

_that_ looks awfully familiar… 🙂 It’s complaining that you don’t  
have a tcltklib, which is usually built alongside ruby. To get it, you  
will need to recompile it, probably with some changes.

First of all, do you have Tcl/Tk installed?  
Also, did you compile this, or install it from a package?

This happened on my box because the Tcl/Tk libraries and header files  
were in a non-standard location, so ruby’s tcltklib didn’t get built.

> **···**
>
> On Mar 25, 2004, at 2:51 AM, Sabyasachi Mustafi wrote:
> 
> > Hello,  
> > I am using Ruby 1.6.8 in FreeBSD. But it is showing an error as  
> > given in the following. I have just installed Ruby. Does it needed to  
> > install anthing more to use tk?? Please help me as soon as possible.
> > 
> > Thanking you,  
> > Sabyasachi Mustafi
> > 
> > /usr/local/lib/ruby/1.6/tk.rb:7:in `require': No such file to load -- tcltklib (LoadError) from /usr/local/lib/ruby/1.6/tk.rb:7 from Pilot.rb:2:in `require’  
> > from Pilot.rb:2
