Subject:
[ruby-ffi] [Q] search paths for loading libraries
From:
Chuck Remes
Date:
5/6/10 4:35 PM
To:
ruby-ffi@googlegroups.com

I'm working on providing a set of FFI bindings for the zeromq (zeromq.com) message queuing library. It is typically installed in /usr/local/lib.

The ruby bindings that it currently has builds a C extension which it stashes in ruby/lib/ruby/site_ruby/1.9.1/ for the correct platform. Presumably FFI would find a library installed here, but I'm hoping it will also find a library stored at the traditional /usr/local/lib location. Will it? Any way to give it a hint (aside from providing an absolute path)?

cr