From: Lennon Day-Reynolds Date: 2004-08-20T04:40:10+09:00 Subject: Re: require and LD_LIBRARY_PATH Jim, "Exporting" the LD_LIBRARY_PATH environment variable should only make a difference in terms of its visibility to child processes spawned after the export. Since the dynamic loader isn't running in a child process, it won't affect its behavior. More likely, the problem is that the loader only reads that variable once when it is first initialized, and then uses the cached value throughout the lifespan of the process. You may need to wrap your Ruby program in a shell script which sets the environment variable properly, and then execs your script. Lennon