M. Edward (Ed) Borasky wrote:
> Joel VanderWerf wrote:
>> M. Edward (Ed) Borasky wrote:
>>> For the past couple of weeks, I've been playing around with Ruby on a 
>>> Gumstix computer. This is a small machine  -- it fits in the palm of an 
>>
>> I was using ruby on gumstix for a wireless networking testbed earlier 
>> this year. One problem was with ruby loading dynamic libs, so I had to 
>> build ruby statically liked with socket and so on. (I think python had 
>> the same problem, IIRC.) Have encountered this problem? If so, have 
>> you found a way around it?
>>
> I'll have to look at the makefile -- it may be static by default. 
> "socket.c" didn't even cross-compile on my machine; I have IPV6 and the 
> cross-development toolchain croaked until I disabled IPV6 in the Ruby 
> makefile.

Check your ext/Setup. Lines beginning with # are not linked statically.

Does "require 'socket'" (for example) succeed when you are running on 
the stixen? What about other extensions?

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407