« 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

Hmm, I guess I'm stumped then. Maybe someone can try to investigate
further, but at the very least it would be good to get a bug report
filed for it. Can you do that?

On Thu, Jul 2, 2009 at 4:37 PM, Timothy
Hanson<thanson@...> wrote:

> I tried with --debug, it still failed.
>
> -----Original Message-----
> From: Charles Oliver Nutter [mailto:headius@...]
> Sent: Thursday, July 02, 2009 2:23 PM
> To: user@...
> Subject: Re: [jruby-user] Loading java native extensions
>
> On Thu, Jul 2, 2009 at 4:11 PM, Timothy
> Hanson<thanson@...> wrote:
>> I was able to get it to work by embedding the System.loadLibrary() directly in the Java code and invoking that from JRuby.
>
> Now that's very interesting...I wonder if the logic for binding
> libraries or handling security doesn't like the load call from JRuby
> because we're loading on the boot classloader. You could probably try
> running JRuby with --debug also, which will load it on the normal
> system classloader. If that works, we have our culprit.
>
> Glad to hear you got it working, at any rate.
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Loading java native extensions