pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ruby-tk problem



Hi,

there seems to be something wrong with ruby-tk on pkgsrc-2006Q1:

$ irb
irb(main):001:0> require 'tk'
LoadError: Shared object "libX11.so.6" not found - /usr/pkg/lib/ruby/site_ruby/1.8/i386-netbsdelf/tcltklib.so
        from /usr/pkg/lib/ruby/site_ruby/1.8/i386-netbsdelf/tcltklib.so
        from /usr/pkg/lib/ruby/site_ruby/1.8/tk.rb:7
        from (irb):1
irb(main):002:0>
$ ldd /usr/pkg/lib/ruby/site_ruby/1.8/i386-netbsdelf/tcltklib.so
/usr/pkg/lib/ruby/site_ruby/1.8/i386-netbsdelf/tcltklib.so:
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lcrypt.0 => /usr/lib/libcrypt.so.0
        -lm.0 => /usr/lib/libm387.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lruby18.18 => /usr/pkg/lib/libruby18.so.18
        -lX11.6 => /usr/X11R6/lib/libX11.so.6
        -ltk84.1 => /usr/pkg/lib/libtk84.so.1
        -ltcl84.1 => /usr/pkg/lib/libtcl84.so.1
        -lX11.6 => not found
        -lc.12 => /usr/lib/libc.so.12
_________
# cd /usr/pkg/lib && ln -s /usr/X11R6/lib/libX11.so.6 ./
_________
$ irb
irb(main):001:0> require 'tk'
LoadError: no such file to load -- tkutil
        from /usr/pkg/lib/ruby/site_ruby/1.8/tk.rb:8:in `require'
        from /usr/pkg/lib/ruby/site_ruby/1.8/tk.rb:8
        from (irb):1
irb(main):002:0>
$ head /usr/pkg/lib/ruby/site_ruby/1.8/tk.rb | grep require
require 'tcltklib'
require 'tkutil'
$ find /usr/pkg/lib/ruby | grep -i tkutil
$

'ruby-tk' package from pkgsrc-2005Q4 works fine.

Regards,

r.



Home | Main Index | Thread Index | Old Index