Hi, I am trying to run jruby/test/bench/ffi/bench_chmod.rb on a WIndows XP box. Jruby version is jruby 1.1.3 (ruby 1.8.6 patchlevel 114) (2008-08-11 rev 6586) [x86-java]. When I run "jruby bench_chmod.rb", it fails with the following error messaage.
C:\tools\jruby\test\bench\ffi>jruby bench_chmod.rb com.sun.jna.NativeLibrary:114:in `loadLibrary': java.lang.UnsatisfiedLinkError: Unable to load library 'c': The specified module could not be found. from com.sun.jna.NativeLibrary:157:in `getInstance' from org.jruby.ext.ffi.jna.JNAProvider:56:in `createInvoker' from org.jruby.ext.ffi.FFIProvider:86:in `createInvoker' from org.jruby.ext.ffi.FFIProvider$i_method_1_0$RUBYINVOKER$createInvoke r:-1:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:120:in `cacheAndCa ll' from org.jruby.runtime.CallSite$InlineCachingCallSite:292:in `call' from org.jruby.ast.CallNode:163:in `interpret' from org.jruby.ast.LocalAsgnNode:115:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:161:in `interprete dCall' from org.jruby.internal.runtime.methods.DefaultMethod:139:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:188:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:120:in `cacheAndCa ll' from org.jruby.runtime.CallSite$InlineCachingCallSite:292:in `call' from org.jruby.ast.CallNode:163:in `interpret' from org.jruby.ast.LocalAsgnNode:115:in `interpret' from org.jruby.ast.NewlineNode:101:in `interpret' from org.jruby.ast.BlockNode:67:in `interpret' from org.jruby.internal.runtime.methods.DefaultMethod:161:in `interprete dCall' from org.jruby.internal.runtime.methods.DefaultMethod:139:in `call' from org.jruby.internal.runtime.methods.DefaultMethod:188:in `call' from org.jruby.runtime.CallSite$InlineCachingCallSite:120:in `cacheAndCa ll' from org.jruby.runtime.CallSite$InlineCachingCallSite:292:in `call' from ruby.C_3a_.tools.jruby.test.bench.ffi.bench_chmod:17:in `module__2$ RUBY$RbxPosix' from ruby.C_3a_.tools.jruby.test.bench.ffi.bench_chmod:-1:in `module__2$ RUBY$RbxPosix' from ruby.C_3a_.tools.jruby.test.bench.ffi.bench_chmod:14:in `__file__' from ruby.C_3a_.tools.jruby.test.bench.ffi.bench_chmod:-1:in `__file__' from ruby.C_3a_.tools.jruby.test.bench.ffi.bench_chmod:-1:in `load' from org.jruby.Ruby:542:in `runScript' from org.jruby.Ruby:455:in `runNormally' from org.jruby.Ruby:328:in `runFromMain' from org.jruby.Main:203:in `run' from org.jruby.Main:100:in `run' from org.jruby.Main:84:in `main' Every test in this directory fails with the same message as do my own programs. Am I missing some switch or is this not working on Windows XP? Thanks, -- View this message in context: http://www.nabble.com/LoadLibrary-fails-when-running--jruby-test-bench-ffi-bench_*.rb-tp18937603p18937603.html Sent from the JRuby - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email