From: "dominique.plante@..." Date: 2006-03-22T10:58:50+09:00 Subject: error trying to use sybct in windows "LoadError: 127: The specified procedure could not be found. - Init_sybct" I was able to build the library sybct-ruby-0.2.8 on my windows xp machine (this library should enable connectivity to a sybase ASE 12.5 database). I was able to do it with lots of trial and error, but basically this is what you should put in a batch file to be able to generate the library: cl -nologo -osybct.so sybct.obj /link c:\ruby\lib\msvcrt-ruby18.lib kernel32.lib oldnames.lib user32.lib advapi32.lib wsock32.lib S:\sw.32\OCS-12_5\lib\libct.lib S:\sw.32\OCS-12_5\lib\libcs.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\LIB\msvcrt.lib" -opt:ref,icf /dll /nodefaultlib ok, now you have: sybct.so sybct.obj sybsql.rb sybct.rb I put the files in C:\ruby\lib\ruby\1.8\i386-mswin32 (a place with other .so files) now I started up irb and typed require 'sybct' and irb spits back: LoadError: 127: The specified procedure could not be found. - Init_sybct c:/ruby/lib/ruby/1.8/i386-mswin32/sybct.so from c:/ruby/lib/ruby/1.8/i386-mswin32/sybct.so from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire' from c:/ruby/lib/ruby/1.8/i386-mswin32/sybct.rb:3 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire__' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire' from (irb):1 Any ideas what to do now? I feel I'm pretty close to having sybct working under windows!!!! Thanks!!! Dominique