help-octave
[Top][All Lists]
Advanced

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

Re: error, from octave call GLPK


From: Marius Schamschula
Subject: Re: error, from octave call GLPK
Date: Wed, 10 Dec 2008 18:32:01 -0600

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





reply via email to

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