jruby --ng aborts on Windows with UnsatisfiedLinkError
------------------------------------------------------

                 Key: JRUBY-4034
                 URL: http://jira.codehaus.org/browse/JRUBY-4034
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.4
            Reporter: Ian Dees
             Fix For: JRuby 1.4


With the Nailgun server running, trying {{jruby --ng --version}} yields this:

{noformat}
jruby 1.5.0dev (ruby 1.8.7 patchlevel 174) (2009-10-02 6586) (Java HotSpot(TM) 
Server VM 1.6.0_16) [x86-java]
java.lang.UnsatisfiedLinkError: getpid not found
        at 
com.kenai.jaffl.provider.jffi.Library.findSymbolAddress(Library.java:53)
        at 
com.kenai.jaffl.provider.jffi.FastIntInvokerFactory.createInvoker(FastIntInvokerFactory.java:24)
        at com.kenai.jaffl.provider.jffi.Library.getInvoker(Library.java:33)
        at 
com.kenai.jaffl.provider.NativeInvocationHandler.createInvoker(NativeInvocationHandler.java:85)
        at 
com.kenai.jaffl.provider.NativeInvocationHandler.getInvoker(NativeInvocationHandler.java:69)
        at 
com.kenai.jaffl.provider.NativeInvocationHandler.invoke(NativeInvocationHandler.java:105)
        at $Proxy0.getpid(Unknown Source)
        at org.jruby.ext.posix.BaseNativePOSIX.getpid(BaseNativePOSIX.java:72)
        at org.jruby.RubyGlobal.createGlobals(RubyGlobal.java:267)
        at org.jruby.Ruby.init(Ruby.java:1012)
        at org.jruby.Ruby.newInstance(Ruby.java:173)
        at org.jruby.Main.run(Main.java:206)
        at org.jruby.util.NailMain.run(NailMain.java:31)
        at org.jruby.util.NailMain.nailMain(NailMain.java:12)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.martiansoftware.nailgun.NGSession.run(Unknown Source)
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to