From: Roger Pack Date: 2010-01-28T11:43:34+09:00 Subject: [ruby-core:27919] sometimes methods don't appear? I've noticed that with a couple of binary gems [1] The gems compile and require 'gem_name.so' works great with 1.8 However, with 1.9, the require 'gem_name.so' line yields something like LoadError: 127: The specified procedure could not be found. - Init_serialport And indeed, if you run the "strings" command on the .so file, it doesn't appear to be in there. After some blind wandering, it appears that either adding a __declspec(dllexport) to the Init_ method, or adding --export-all to RbConfig::CONFIG['LIBRUBY_DLDFLAGS'] fixes the problem. Is the lack of --export-all (it was there in 1.8, but isn't in 1.9) and its attendant difficulties expected? Thanks! -rp [1] serialport, rjb http://groups.google.com/group/rubyinstaller/browse_thread/thread/92ecf042368082fb#