error, from octave call GLPK

Marius Schamschula marius173 at mchsi.com
Wed Dec 10 18:32:01 CST 2008


Jack (and Jack),

Since this is the second request for this issue within 24 hours, let  
me point out a workaround and a solution.

The workaround:

Downgrade glpk to version 4.31. Newer versions of glpk (4.24 is  
current) don't work with octave 3.0.3.

The solution:

Get a newer version of octave. I understand, this problem has been  
patched in the developer sources.

I personally use the workaround in my Mac OS X builds of octave.

On Dec 10, 2008, at 4:41 PM, Jack Bryan wrote:

> Hi,
>
> I need to call GLPK from octave ,I have installed GLPK in my system.
>
> When I run a octave program that call glpk() , I got :
>
> error: glpk: not supported on this system
> error: called from `glpk' in file `/home/myoctave/share/octave/ 
> 2.9.12/m/optimization/glpk.m'
>
> I have checked my configure file of octave :
>
> configure:9875: gcc -o conftest -g -O2   conftest.c -lglpk  -lz - 
> lm  >&5
> /usr/bin/ld: cannot find -lglp
>
> GLPK libraries:       /home/octave/glpk432/lib/libglpk.a
>
> ac_cv_lib_glpk____glp_lpx_simplex=no
> ac_cv_lib_glpk___glp_lpx_simplex=no
>
> GLPK_LIBS='/home/octave/glpk432/lib/libglpk.a'
>
> Do these mean that I have installed GLPK successfully ?
>
> Or other reasons ?
>
> thanks
>
> Dec. 10  2008

Marius
--
Marius Schamschula
Webmaster

The Huntsville Macintosh Users Group
www.hmug.org

webmaster at hmug dot org
marius at schamschula dot com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20081210/0cf8bbc6/attachment-0001.html 


More information about the Help-octave mailing list