From: Paul Brannan Date: 2002-12-03T23:49:20+09:00 Subject: Re: LoadError -> `require': (null) - /usr/local/lib/ruby/1.6/i686-linux/sqlite.so (LoadError) On Tue, Dec 03, 2002 at 12:30:58PM +0900, ahoward wrote: > `require': (null) - /usr/local/lib/ruby/1.6/i686-linux/sqlite.so (LoadError) I think this happens if sqlite.so doesn't have an Init_sqlite() functon. E.g.: [pbrannan@zaphod ruby]$ irb irb(main):001:0> require '/usr/lib/libm' LoadError: (null) - /usr/lib/libm.so from (irb):1:in `require' from (irb):1 If this is a C++ library, make sure that Init_sqlite s defined with extern "C". I wonder how hard it would be to get the interpreter to give a more informative error message. Paul