You are not logged in.
Pages: 1
Hi all,
I'm having glpk issues with octave:
I first installed octave from the repo
When I try to run octave code that uses glpk I get the following error:
error: glpk: not supported on this system
error: called from:
error: /usr/share/octave/3.6.4/m/optimization/glpk.m at line 594, column 32
error: /usr/share/octave/3.6.4/m/optimization/qp.m at line 366, column 33
error: /usr/share/octave/3.6.4/m/optimization/sqp.m at line 414, column 32
I can confirm that glpk is installed:
ldconfig -p | grep glpk
libglpk.so.35 (libc6,x86-64) => /usr/lib/libglpk.so.35
libglpk.so (libc6,x86-64) => /usr/lib/libglpk.so
I then tried building and installing octave from the official sources but the configuration gives me the following warning:
configure: WARNING: GLPK library not found. The glpk function for solving linear programs will be disabled.
Clearly, my system isn't able to find the glpk libraries for some reason, and apart from installing glpk from sources, I'm at a loss as to what to do here..
Any ideas?
Offline
Apparently the API of GLPK has changed. Please look at https://bugs.archlinux.org/task/36835
Offline
There is a working version in AUR: https://aur.archlinux.org/packages/octave-mkl/
It uses Intel's math libs, but it's easy to hange the PKGBUILD to use the default.
Offline
Pages: 1