From: sp00fD Date: 2001-01-24T11:10:02+09:00 Subject: [ruby-talk:9789] Re: socket.rb? firewalls? In article <20010123162358.D7625@c1204567-a.pinol1.sfba.home.com>, "David S." wrote: > > > > Another probably stupid question while we're talking about > > LD_LIBRARY_PATH. I compiled tk support into ruby as well, and > > specified the correct LD..PATH in my .profile, but when I su - root and > > whatnot, it's not specified and ruby fails to load because of it. We > > have the root user local to each box, the ruby installation is an nfs > > mount. Is there any way to tell ruby (a config file (local to the ruby > > install) or something) to use that LD..PATH by default instead of > > having to modify all the profiles? > > > > I think a better idea would be to re-build (or at least re-link) > ruby with a "-R/(your lib directory)" flag. Setting a global > LD_LIBRARY_PATH can cause problems. See > > http://www.visi.com/~barr/ldpath.html > > David S. > > thanks, I'll do that! Sent via Deja.com http://www.deja.com/