[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] [Fwd: Install glpkmex on a Mac]
From: |
Andrew Makhorin |
Subject: |
[Help-glpk] [Fwd: Install glpkmex on a Mac] |
Date: |
Wed, 16 Mar 2011 01:20:17 +0300 |
-------- Forwarded Message --------
From: Haibo Zhang <address@hidden>
To: address@hidden
Subject: Install glpkmex on a Mac
Date: Wed, 16 Mar 2011 09:42:07 +1300
Dear All,
I have tried to compile glpkmex v2.10 on a Mac, and got the following
errors:
GLPKMEX - A Matlab interface for GLPK. Script installer.
Version 2.9 compatible with GLPK 4.36 (or higher)
(C) 2001-2007, Nicolo' Giorgetti.
Maintained by Niels Klitogrd
Last updated: Feb 2010.
Do you want to use graphic installer? Y/N [Y]: Y
GLPK path... /opt/local
GLPK include files...OK
GLPK library file...OK
attempting to run:
mex -largeArrayDims -I/opt/local/include
glpkcc.cpp /opt/local/lib/libglpk.a /opt/local/lib/libgmp.a
Undefined symbols:
"_gzclose", referenced from:
__glp_lib_xfclose in libglpk.a(glplib08.o)
"_gzflush", referenced from:
__glp_lib_xfflush in libglpk.a(glplib08.o)
"_gzerror", referenced from:
__glp_lib_xfflush in libglpk.a(glplib08.o)
__glp_lib_xfputc in libglpk.a(glplib08.o)
__glp_lib_xfgetc in libglpk.a(glplib08.o)
"_gzgetc", referenced from:
__glp_lib_xfgetc in libglpk.a(glplib08.o)
"_gzopen", referenced from:
__glp_lib_xfopen in libglpk.a(glplib08.o)
"_gzputc", referenced from:
__glp_lib_xfputc in libglpk.a(glplib08.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
mex: link of ' "glpkcc.mexmaci64"' failed.
??? Error using ==> mex at 222
Unable to complete successfully.
Error in ==> makeglpkmex at 182
eval(['mex ' cmd]);
Error in ==> run at 57
evalin('caller', [s ';']);
I have read several similar postings in the list, but can not fix the
problem. I will appreciate any help. Thank in advance.
--
Haibo Zhang
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] [Fwd: Install glpkmex on a Mac],
Andrew Makhorin <=