Subject: Re: [ruby-ffi] `ffi_libraries': no library specified (LoadError) |
From: Jesús García Sáez <blaxter@gmail.com> |
Date: 2/19/10 3:11 AM |
To: ruby-ffi@googlegroups.com |
On Thu, Feb 18, 2010 at 20:45, Wayne Meissner <wmeissner@gmail.com> wrote:
<blaxter@gmail.com>:2010/2/19 Jesús García SáezObviously 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.