From: "Ara.T.Howard" Date: 2004-03-03T02:04:47+09:00 Subject: Re: Problem adding new module... On Wed, 3 Mar 2004 nobu.nokada@softhome.net wrote: > Hi, > > At Tue, 2 Mar 2004 22:54:43 +0900, > Ara.T.Howard wrote in [ruby-talk:94061]: > > > not find /boot/home/config/lib/ruby/1.6/i586-beos/_sqlite.so - /boot/ > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > does this file exist? > > In general, when LoadError for .so reports the full path, the > file was found but could not loaded due to another reason, > e.g. permission, lack of required libraries, etc. ah. so perhaps _sqlite.so cannot find the sqlite libs. try ldd /boot/home/config/lib/ruby/1.6/i586-beos/_sqlite.so (or equiv) so see which libs THIS lib depends on. then see if those libs are in the places normally searched by ld.so. if they are not recomple with LD_RUN_PATH set equal to that location, or set LD_LIBRARY_PATH to that location at runtime, or reconfigure ld.so to look at that location. IMHO the first is the best option. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | URL :: http://www.ngdc.noaa.gov/stp/ | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done ===============================================================================