# Still trying to install ruby/tk

**URL:** <https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239>\
**Category:** Ruby\
**Created:** [November 25, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239 "2007-11-25T23:50:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [November 25, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239/1 "2007-11-25T23:50:41Z")

</div>

I finally gave up on trying to get the  
tcltklib file to work. By the way, it is  
in /ruby/ruby1.8.5/ext/tk directory now,  
not the /etc/tcltk directory (which doesn’t  
seem to exist).

I finally found the ruby-tcltk rpm for  
my linux system (fedora 5), but when I  
try to install it, it says it can’t find

libtk8.4.so

which exists in /usr/local/bin and in /usr/local.  
Any ideas where it should be kept so it can be found  
rpm?

thanks in advance  
john slimick  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [November 26, 2007, 1:18am UTC](https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239/2 "2007-11-26T01:18:15Z")

</div>

-------- Original-Nachricht --------

> Datum: Mon, 26 Nov 2007 07:50:00 +0900  
> Von: John S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> An: removed\_email\_address@domain.invalid  
> Betreff: Still trying to install ruby/tk

> libtk8.4.so
> 
> which exists in /usr/local/bin and in /usr/local.  
> Any ideas where it should be kept so it can be found  
> rpm?
> 
> thanks in advance  
> john slimick  
> removed\_email\_address@domain.invalid

Dear John,

I think this is a path setting issue.  
Here’s a discussion about installing TCl/Tk on Solaris, but I think  
it will apply to Fedora as well:

> **[NS2 installation problem on solaris 10](https://www.linuxquestions.org/questions/solaris-opensolaris-20/ns2-installation-problem-on-solaris-10-a-494039/)**
>
> hi ! i am trying to install NS2 version allinone-2.30 on solaris 10. As mentioned in its README and doc that all we have to do is to run ./install n

Best regards,

Axel

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [November 28, 2007, 3:57am UTC](https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239/3 "2007-11-28T03:57:24Z")

</div>

To answer my own problem, I got ruby/tk working  
this evening. To get this done:

(1) I installed ActiveTcl (which defaults into /opt)

(2) I went back to the /etc/tk directory, and changed  
the hard-coded paths to ones where things might actually  
be found

(3) I set the LD\_LIBRARY\_PATH per the README.ActiveTcl file

(4) I ran extconf.rb with the CONFIGURE arguments per  
the README.tcltklib file

I have another installation to do tomorrow. I hope  
this works a second time.

This was a difficult installation.

john slimick  
removed\_email\_address@domain.invalid
