Hi, 

From: Massimiliano Mirra - bard <mmirra / libero.REMOVETHIS.it>
Subject: Re: Togl widget, where to install it?
Date: Thu, 17 Jul 2003 17:54:19 +0900
Message-ID: <87oezt7dba.fsf / prism.localnet>
> Almost there.
>     bard@prism:~/workspace/ruby/Togl-1.6$ tclsh
>     % package require Togl
>     can't find package Togl
>     % load togl.so
>     couldn't load file "togl.so": togl.so: cannot open shared object 
>       file: No such file or directory
>     % load ./togl.so
>     % package require Togl
>     1.6

Well, your togl.so library is not on Tcl/Tk's auto_path, is it?
Probably, there are two ways for loading togl.so to Ruby/Tk.
 (1) put togl.so on the auto_path.
     or add the new path for togl.so to the auto_path 
     by TkPackage.add_path(new_path). 
 (2) call "load ./togl.so" by using Tk.tk_call('load', './togl.so'). 
After doing one of them, please try TkPackage.require('Togl')
-- 
                                  Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)