From: ara.t.howard@... Date: 2006-12-07T06:50:48+09:00 Subject: Re: Installing shared object library into non-standard directoryi On Thu, 7 Dec 2006, Joe Van Dyk wrote: > On 12/6/06, Joe Van Dyk wrote: >> Hi, >> >> I have ruby-gnome2 installed into a subdirectory of my application. >> ruby-gnome2 has a library in it called glib2.so. I've added the >> appropriate directories to $LOAD_PATH. >> >> However, when I try to require some of the ruby-gnome2 libraries, I get: >> >> ./gui/lib/ruby-gnome2/lib/site_ruby/1.8/glib2.rb:68:in `require': >> libruby.so.1.8: cannot open shared object file: No such file or >> directory - ./gui/lib/ruby-gnome2/lib/site_ruby/1.8/i386-linux-gnu/glib2.so >> (LoadError) >> >> glib2.so does exist in that location though. Any ideas? > > > LD_LIBRARY_PATH is set to include the > ./gui/lib/ruby-gnome2/lib/site_ruby/1.8/i386-linux-gnu/glib2.so > directory, btw. permissions? what happens if you just do ruby -r ./gui/lib/ruby-gnome2/lib/site_ruby/1.8/i386-linux-gnu/glib2.so -e :noop yourself? -a -- if you want others to be happy, practice compassion. if you want to be happy, practice compassion. -- the dalai lama