help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] [Fwd: Need help running GLPK code in Ubuntu server]


From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: Need help running GLPK code in Ubuntu server]
Date: Sun, 09 Jun 2013 09:27:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

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



reply via email to

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