Subject:
Re: [ruby-ffi] `ffi_libraries': no library specified (LoadError)
From:
Stefan Schmidt
Date:
6/12/10 4:07 PM
To:
ruby-ffi@googlegroups.com
CC:
blaxter@gmail.com

Got distracted by something else for a while. Just wanted to let you know that your suggestion worked out. Thank you!

Am 19.02.10 10:11, schrieb Jesús García Sáez:
On Thu, Feb 18, 2010 at 20:45, Wayne Meissner<wmeissner@gmail.com>  wrote:
  
2010/2/19 Jesús García Sáez<blaxter@gmail.com>:

    
Obviously it fails telling you there is no lib specified, the hello
world I see in github is this [0], where did you get that example?
      
Its probably in an example on the wiki somewhere.  Anyone who feels
like jumping in and fixing up the examples to specify a lib, feel
free.

    
You were right, I fixed it.

Stefan, just put "ffi_lib LIBC" (or FFI::Platform::LIBC in jruby,
'cause jruby's ffi is a bit outdated) and there you go.