Hello Kazi,

in the description on
http://glpk-java.sourceforge.net/gettingStarted.html
I forgot the following step after installation of GLPK.

sudo ldconfig

Best regards

Heinrich Schuchardt

On 09.06.2013 01:23, Kazi Moyeen ul Huq wrote:
Hi,
Looks like I made some progress ! But, I received these 2 messages, when I
was installing according to the
http://glpk-java.sourceforge.net/gettingStarted.html , GLPK /"LPK for Java
instructions :

1. In the glpk 4.50 installation, after make install (no error msg upto
this point) :
~/glpk-4.50$ glpsol --version
glpsol: error while loading shared libraries: libglpk.so.35: cannot open
shared object file: No such file or directory

2.During "make check" for glpk-java-1.0.28 :
The dynamic link library for GLPK for Java could not be loaded. Consider
using
java -Djava.library.path=

3. when I tried to test run my program, I got the following error :
The dynamic link library for GLPK for Java could not be loaded.
Consider using
java -Djava.library.path=
Exception in thread "Timer-0" java.lang.UnsatisfiedLinkError: no glpk_java
in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
  at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
  at org.gnu.glpk.GLPK.<clinit>(GLPK.java:20)
               ... ... ...

The detailed error messages are attached in the email,

Please suggest how I can take care of the dynamic link library error ?

Thanks a lot
Kazi

_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to