bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] glpk, Mac OS X.


From: Koenraad De Vleeschauwer
Subject: [Bug-glpk] glpk, Mac OS X.
Date: Thu, 28 Nov 2002 19:07:38 +0100

On an Apple macintosh Mac OS X 10.2 (host system type "powerpc-apple-darwin6.1") autoconf does not automatically run ranlib on libglpk.a, which causes the build to fail.
Running ranlib manually solves the problem.

bash-2.05a$ make
gcc -c -g -O2  -Iinclude source/glpavl.c -o source/glpavl.o
...
gcc -g -O2  -Iinclude sample/glpsol.c \
        libglpk.a -lm  -o glpsol
ld: archive: libglpk.a has no table of contents, add one with ranlib(1) (can't load from it)
make: *** [glpsol] Error 1
bash-2.05a$ ranlib libglpk.a
bash-2.05a$ make
gcc -g -O2  -Iinclude sample/glpsol.c \
        libglpk.a -lm  -o glpsol
bash-2.05a$

Had been using lp_solve so far, but this looks interesting. Nice work. Thanks.

koen






reply via email to

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