From: Lennon Day-Reynolds Date: 2004-09-16T03:13:02+09:00 Subject: Ruby and LD_RUN_PATH I'm trying to distribute a version of Ruby along with an application, and have a dependency on several shared objects that need to be distributed with it. On Windows, this is no problem: just add the DLLs to the 'bin' directory from which Ruby is run, and the system picks them up and loads them as needed. Under Linux, though, I seem to be completely unable to get Ruby to recognize the libraries. My file tree looks something like this: app/ (my sources and data files go here) ruby/ bin/ ruby lib/ .so ruby/ 1.8/ ... I'm setting LD_RUN_PATH to './ruby/lib', and then launching the Ruby binary with the flags '-I./ruby/lib/ruby/1.8 -I./ruby/lib/ruby/1.8/i686-linux'. It finds the Ruby libraries and shared object files just fine, but the .so is not being picked up. Any ideas? -- Lennon rcoder.net