Re: [Help-glpk] glpk-java libtool install error
Hello Xypron, thank you for your help! The installation was successful, but when I load an empty problem like that: glp_prob lp = GLPK.glp_create_prob(); I get a link error: Exception in thread main java.lang.UnsatisfiedLinkError: no glpk_4_44_java in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at org.gnu.glpk.GLPK.clinit(GLPK.java:19) at SimpleExemple.main(SimpleExemple.java:67) Could you please help me? Thank you in advance. xypron wrote: Hello Anastasiya, the error occurs in glpk-java-1.0.14/swig/Makefile in the following line: libtool --mode=install install -c libglpk_java.la $(DESTDIR)${prefix}/lib/jni/libglpk_java.la This command should install libglpk_java.so in directory /usr/local/lib/jni. Please, delete any trailing space in the following line: prefix = /usr/local Best regards Xypron IsiAna wrote: Hello everybody, I'm trying to install glpk-java-1.0.14 on Ubuntu 10.04. I got the tar.gz package from http://sourceforge.net/projects/glpk-java/. I manage to install the glpk-4.44, swig, libtool and java-gcj-compat-dev. I have following error libtool: install: `/lib/jni/libglpk_java.la' is not a directory, when I run the make install command for glpk-java. Here is my output cd swig; make install make[1]: Entering directory `/home/isi/SystemFiles/GLPK/glpk-java-1.0.14/swig' mkdir -p -m 755 /usr/local /lib/jni;true libtool --mode=install install -c libglpk_java.la /usr/local /lib/jni/libglpk_java.la libtool: install: `/lib/jni/libglpk_java.la' is not a directory libtool: install: Try `libtool --help --mode=install' for more information. make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/isi/SystemFiles/GLPK/glpk-java-1.0.14/swig' make: *** [install] Error 2 Please is there anyone that can help me? Thanks a lot. Anastasiya ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk -- View this message in context: http://old.nabble.com/glpk-java-libtool-install-error-tp29520668p29531905.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk
Re: [Help-glpk] glpk-java libtool install error
Hello Anastasiya, Exception in thread main java.lang.UnsatisfiedLinkError: no glpk_4_44_java please, use java -Djava.library.path=/usr/local/lib/jni to specify where you have installed libglpk_java.so The same error will occur, if libglpk.so cannot be found. Best regards Xypron Original-Nachricht Datum: Wed, 25 Aug 2010 05:52:03 -0700 (PDT) Betreff: Re: [Help-glpk] glpk-java libtool install error Hello Xypron, thank you for your help! The installation was successful, but when I load an empty problem like that: glp_prob lp = GLPK.glp_create_prob(); I get a link error: Exception in thread main java.lang.UnsatisfiedLinkError: no glpk_4_44_java in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at org.gnu.glpk.GLPK.clinit(GLPK.java:19) at SimpleExemple.main(SimpleExemple.java:67) Could you please help me? Thank you in advance. -- GMX DSL SOMMER-SPECIAL: Surf Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://portal.gmx.net/de/go/dsl ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk
[Help-glpk] glpk-java libtool install error
Hello everybody, I'm trying to install glpk-java-1.0.14 on Ubuntu 10.04. I got the tar.gz package from http://sourceforge.net/projects/glpk-java/. I manage to install the glpk-4.44, swig, libtool and java-gcj-compat-dev. I have following error libtool: install: `/lib/jni/libglpk_java.la' is not a directory, when I run the make install command for glpk-java. Here is my output cd swig; make install make[1]: Entering directory `/home/isi/SystemFiles/GLPK/glpk-java-1.0.14/swig' mkdir -p -m 755 /usr/local /lib/jni;true libtool --mode=install install -c libglpk_java.la /usr/local /lib/jni/libglpk_java.la libtool: install: `/lib/jni/libglpk_java.la' is not a directory libtool: install: Try `libtool --help --mode=install' for more information. make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/isi/SystemFiles/GLPK/glpk-java-1.0.14/swig' make: *** [install] Error 2 Please is there anyone that can help me? Thanks a lot. Anastasiya -- View this message in context: http://old.nabble.com/glpk-java-libtool-install-error-tp29520668p29520668.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk
Re: [Help-glpk] glpk-java libtool install error
Hello Anastasiya, the error occurs in glpk-java-1.0.14/swig/Makefile in the following line: libtool --mode=install install -c libglpk_java.la $(DESTDIR)${prefix}/lib/jni/libglpk_java.la This command should install libglpk_java.so in directory /usr/local/lib/jni. Please, delete any trailing space in the following line: prefix = /usr/local Best regards Xypron IsiAna wrote: Hello everybody, I'm trying to install glpk-java-1.0.14 on Ubuntu 10.04. I got the tar.gz package from http://sourceforge.net/projects/glpk-java/. I manage to install the glpk-4.44, swig, libtool and java-gcj-compat-dev. I have following error libtool: install: `/lib/jni/libglpk_java.la' is not a directory, when I run the make install command for glpk-java. Here is my output cd swig; make install make[1]: Entering directory `/home/isi/SystemFiles/GLPK/glpk-java-1.0.14/swig' mkdir -p -m 755 /usr/local /lib/jni;true libtool --mode=install install -c libglpk_java.la /usr/local /lib/jni/libglpk_java.la libtool: install: `/lib/jni/libglpk_java.la' is not a directory libtool: install: Try `libtool --help --mode=install' for more information. make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/isi/SystemFiles/GLPK/glpk-java-1.0.14/swig' make: *** [install] Error 2 Please is there anyone that can help me? Thanks a lot. Anastasiya ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk