From: ts Date: 2002-08-10T20:43:58+09:00 Subject: Re: struct needs to be a constant? >>>>> "n" == nobu nokada writes: n> Hmmm, I'm not sure but do you mean the difference between the n> directory name "tk" and the module name "tkutil"? Yes, this is this case static version of ruby pigeon% ldd ruby not a dynamic executable pigeon% ruby has registered "tk" pigeon% ./ruby -e 'p $"' ["curses", "dbm", "digest", "dl", "etc", "fcntl", "gdbm", "iconv", "nkf", "pty", "readline", "sdbm", "socket", "stringio", "strscan", "syslog", "tcltklib", "tk", "digest/md5", "digest/rmd160", "digest/sha1", "digest/sha2", "racc/cparse"] pigeon% but it try to load 'tkutil.so' pigeon% ./ruby -rtk -e 1 /home/ts/local/r17/lib/ruby/1.7/tk.rb:8:in `require': No such file to load -- tkutil (LoadError) from /home/ts/local/r17/lib/ruby/1.7/tk.rb:8 pigeon% it has generated Init_tkutil(); rb_provide("tk"); I have not yet understood this case, where, apparently, the user request for an extension but ruby try to load another extension Guy Decoux