From: Ruby Ruby Date: 2004-04-28T03:50:33+09:00 Subject: Re: Problem with socket --0-1940525358-1083091829=:36720 Content-Type: text/plain; charset=us-ascii I checked the system and sure enough the socket.so file was not found. Is there anyway to built it or should I recompile ruby? Thank you ts wrote: >>>>> "R" == Ruby Ruby writes: R> I am trying to run a program that has: require "socket" at the R> beginning.I am getting the error: pgm.rb:1:in 'require': No such file to R> load -- socket (LoadError) This is under AIX (Unix) and it happens under R> 1.8.0 and 1.8.1. I think it got to be perhaps a path issue or I may need R> something else under Unix. Verify that socket.so is installed. Generally it's in CONFIG["archdir"] svg% ruby -rrbconfig -e 'p Dir[Config::CONFIG["archdir"] + "/sock*"]' ["/usr/local/lib/ruby/1.8/i686-linux/socket.so"] svg% If you don't find it : this mean that ruby was not able to build it at compile it : try to see if it give errors, when you compile it Guy Decoux --------------------------------- Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs --0-1940525358-1083091829=:36720--