help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] GLPK-Java JNI in Mac OS X 10.5.8


From:
Subject: [Help-glpk] GLPK-Java JNI in Mac OS X 10.5.8
Date: Mon, 30 Jan 2012 11:41:36 +0100

Dear all,
I've some problems while testing the glpk-java for MacOS X 10.5.8.

I'm working with GLPK-4.47 and libglpk-java-1.0.19. I've downloaded the latter and properly compile it for x86_64, to avoid the 'match-o, but wrong architecture' error issue. Now, the library is compiled for 64 bits, and seems to be no problem when being loaded by Java VM.

The problem arises me when I try to invoke GLPK from Java:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: org.gnu.glpk.GLPKJNI.glp_create_prob()J
        at org.gnu.glpk.GLPKJNI.glp_create_prob(Native Method)
        at org.gnu.glpk.GLPK.glp_create_prob(GLPK.java:65)
        at net.sf.javailp.SolverGLPK.solve(SolverGLPK.java:115)
(...)

It seems such a method is not defined in the JAR file, but I'm using the glpk-java.jar and the JNI dynamic library, recently compiled from libglpk-java-1.0.19 sources. Am I missing something? Any idea?

It's a pity that the tool I've developed is unavailable to run on MacOS by this error :'(, it would be wonderful if you guys have some idea to fix this!


Thanks in advance, regards
--
Ricardo J. Rodríguez


reply via email to

[Prev in Thread] Current Thread [Next in Thread]