hello,
Ihave installed the SUN’s package of ruby under solaris 8.
I was happy to find that tcltklib was comiled within:
$ ls -l /opt/sfw/lib/ruby/1.6/sparc-solaris2.8/tcltklib.so
-r-xr-xr-x 1 root bin 115916 nov 28 2001
/opt/sfw/lib/ruby/1.6/sparc-solaris2.8/tcltklib.so
But when I try to load it , I get this message:
$ irb
irb(main):001:0> require 'tk’
LoadError: ld.so.1: ruby: fatal: libtk8.3.so: open failed: No such file
or directory - /opt/sfw/lib/ruby/1.6/sparc-solaris2.8/tcltklib.so
from /opt/sfw/lib/ruby/1.6/tk.rb:7:in require' from /opt/sfw/lib/ruby/1.6/tk.rb:7 from (irb):1:in
require’
from (irb):1
I have configured this environment variable:
$ echo $LD_LIBRARY_PATH
/opt/sfw/lib/ruby/1.6/sparc-solaris2.8/
and:
export RUBYLIB=/opt/sfw/lib/ruby/1.6/sparc-solaris2.8
$ irb
irb(main):001:0> puts RUBY_PLATFORM
sparc-solaris2.8
but it still not work. It seems to be a newbie problem, please help me
:->
thx
jf