From: sp00fD Date: 2001-01-24T09:10:02+09:00 Subject: [ruby-talk:9787] Re: socket.rb? firewalls? In article , Dave Thomas wrote: > MICHAEL.W.WILSON@CUSTOMS.TREAS.GOV writes: > > > install, still nothing. There is a > > "/usr/gnu/lib/ruby/1.6/sparc-solaris2.6/socket.so", but that's > > it. ruby -e 'require "socket" or print "oh no"' says "oh no". > > is that directory in your LD_LIBRARY_PATH (or the Solaris equivalent)? > doh! And I'm a Unix admin.... shame on me ;) Thanks for pointing out my stupidity (although, I haven't tried it yet, but I'm sure you're correct) 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? Thanks a bunch for your help! Love the book and the language! I keep wondering why anyone still uses perl or python. Sent via Deja.com http://www.deja.com/