From: Hidetoshi NAGAI Date: 2005-06-20T23:30:49+09:00 Subject: Re: How to make a browser in Ruby Tk From: sujeet kumar Subject: Re: How to make a browser in Ruby Tk Date: Mon, 20 Jun 2005 22:24:25 +0900 Message-ID: <734fb92405062006248a2b549@mail.gmail.com> > hi, Firstly i add > /usr/local/ActiveTcl/lib to /etc/ld.so.conf on top > But it didn't work. Did you execute /sbin/ldconfig after modifying /etc/ld.so.conf? # On my environment, that works properly. > After this I reinstall ActiveTcl is installed at /usr/local/ActiveTcl > and set path. > > Then i used tar xvzf ruby-1.8.2.tar.gz > cd ruby-1.8.2 > ./configure --with-tcl-dir=/usr/local/ActiveTcl/ \ > --with-tk-dir=/usr/local/ActiveTcl/ \ > --with-tcllib=tclstub8.5 \ > --with-tklib=tkstub8.5 \ > --enable-tcltk-stubs > > make Please check that tcltklib.so is really compiled. > Then , LD_LIBRARY_PATH=/usr/local/ActiveTcl8.5.0.0b3/lib:$LD_LIBRARY_PATH ^^^^^^^^^ ??? You installed ActiveTcl at "/usr/local/ActiveTcl", didn't you? Is that typo? If not, it is no wonder to fail to find libraries. As I wrote in my last mail, you must add "/usr/local/ActiveTcl/lib". e.g. (bash)$ LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib /usr/local/bin/irb > rpm -qa | grep tcl > gives > tclx-8.3.5-4 db4-tcl-4.2.52-6 tcl-html-8.4.7-2 > postgresql-tcl-7.4.6-1.FC3.1 > tclx-devel-8.3.5-4 > ruby-tcltk-1.8.1-7 > tclx-doc-8.3.5-4 > > Should I erase all the above? If you erased FC3's Tcl/Tk packages, probably all of them will not work. Those are fillers of your disk. :-) # If setting is proper, ActiveTcl can coexistent with FC3's Tcl/Tk. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)