« Return to Thread: Loading java native extensions

Re: Loading java native extensions

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View in Thread

On Wed, Jul 1, 2009 at 3:57 PM, Wayne Meissner<wmeissner@...> wrote:
> We don't twiddle java.library.path or LD_LIBRARY_PATH at all.
>
> JNA and JFFI both have a custom {jna,jffi}.boot.library.path they
> understand to load their stub libraries from, but when loading other
> libraries, they both use the standard LD_LIBRARY_PATH (or equivalent).

Ok, thanks Wayne.

Tim: Maybe you can try to run JRuby without the startup script, as in

java -cp lib/jruby.jar org.jruby.Main script_which_uses_dll.rb

If you can get it working that way, as you did with normal Java code,
then the problem could be in our startup script.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Loading java native extensions