Hello David, >> But, when I tried to to run it into other machine which doesn't >> include the installation of glpk it generates this error.
GLPK for Java is not a replacement but a wrapper for the GLPK library. You can only use it, if GLPK is installed. If the GLPK library is not in the normal library load path, you can use export LD_LIBRARY_PATH=<your path to libraries> See http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80 Best regards Heinrich Schuchardt On 03.03.2013 22:39, David Gabriel wrote:
Hi, I succeded to run java-glpk program using eclipse or command line (under Linux). But, when I tried to to run it into other machine which doesn't include the installation of glpk it generates this error. "java: symbol lookup error: PERSONAL_JNI_PATH/jni/libglpk_java.so: undefined symbol: glp_error_hook" Kindly be informed that I use this command : java -Djava.library.path=SVNE_lib/jni -cp SVNE_lib/glpk-java.jar -jar SVNE1.0.1.jar SVNE_lib/jni includes : libglpk_java.a libglpk_java.la libglpk_java.so libglpk_java.so.0 libglpk_java.so.0.32.0 libglpk_jni.so I can run my program in my machine where glpk is installed, using this command but it doesn't work in other machine where glpk is not installed. Please tell me what shall I do/install in the other machine (it is server machine handled by other person) to run my program. Thanks in advance. _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
