From: Mark Hubbart Date: 2004-05-12T11:10:08+09:00 Subject: Re: Ruby on AIX 4.3.3 On May 11, 2004, at 6:17 PM, Matt Lawrence wrote: > I just built Ruby 1.8.1 on an AIX 4.3.3 box using gcc. When I try to > run > something that uses "require 'net/http'", I get the following: > > /usr/local/lib/ruby/1.8/net/protocol.rb:21:in `require': No such file > to > load -- socket (LoadError) > from /usr/local/lib/ruby/1.8/net/protocol.rb:21 > from /usr/local/lib/ruby/1.8/net/http.rb:26:in `require' > from /usr/local/lib/ruby/1.8/net/http.rb:26 > from ./testit:3:in `require' > from ./testit:3 > > And, I can't fins any file named 'socket*' under /usr/local/lib Socket is a C extension; I would strongly suspect that it failed to compile when you built ruby. Compiles of extensions will fail silently. Try cd'ing into the source/ext/socket/ directory and "ruby extconf.rb; make"; This will display any errors.