I have an extension I wrote which is actually just a wrapper for a C api.
The directory structure looks like this.
I'm not sure, but I think you shouldn't put the lib prefix in the call to
have_library:
have_library('mdc', 'MDOpenConnection')
I hope this helps
Stefano
Thanks Stefano, that worked. Now I get this though.
LoadError: libmdc.so: cannot open shared object file: No such file or
directory - ./metadata.so
from ./metadata.so
from (irb):1
I tried setting LD_LIBRARY_PATH to include the directory, but that didn't
work.
On Sun, Jul 6, 2008 at 12:12 PM, Stefano Crocco <stefano...@alice.it>
wrote: