>>>>> "M" == MICHAEL W WILSON <MICHAEL.W.WILSON / customs.treas.gov> writes: M> After my previous message regarding my inability to 'require "socket"', M> Dave suggested that I add the location of my socket.so M> (/usr/gnu/lib/ruby/1.6/sparc-solaris) to my LD_LIBRARY_PATH (should I have M> a socket.rb? I don't). In that same directory, I have etc.so, pty.so, M> md5.so, tcltklib.so and a bunch of header files. All of the shared M> libraries have 555 permissions, all of the headers have 644 permissions. I M> added that directory to my LD_LIBRARY_PATH, but still if I do something This is strange, I don't need LD_LIBRARY_PATH on 2.7 moulon% echo $LD_LIBRARY_PATH moulon% ruby -ve 'require "socket" or puts "not found"' ruby 1.6.2 (2000-12-25) [sparc-solaris2.7] moulon% Verify that you have the right $LOAD_PATH moulon% ruby -e 'puts $LOAD_PATH.join("\n")' /usr/local/lib/ruby/site_ruby/1.6/sparc-solaris2.7 /usr/local/lib/ruby/site_ruby/1.6 /usr/local/lib/ruby/site_ruby /usr/local/lib/ruby/1.6/sparc-solaris2.7 /usr/local/lib/ruby/1.6 . moulon% ruby use stat(), verify this : The stat() function obtains information about the file pointed to by path. Read, write, or execute permission of the named file is not required, but all directories listed in the path name leading to the file must be searchable. Guy Decoux