help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Re: addition


From: Andrew Makhorin
Subject: [Help-glpk] Re: addition
Date: Fri, 16 May 2008 15:14:00 +0400

>> You need either to make zlib available to the linker passing it the
>> option '-lz', or rebuild glpk passing the option '--without-zlib' to
>> the glpk configure script.
>> 

> Thank you for four reply and one of error message disappeared.
> But the following errors didn't.

> --------------------------------------------------------
> GLPKMEX - A Matlab interface for GLPK. Script installer. 
> Version 2.4 compatible with GLPK 4.20 (or higher)
> (C) 2001-2007, Nicolo' Giorgetti.
 
> Do you want to use graphic installer? Y/N [Y]: 
> GLPK path... /home1/usr2/my_name/gnu4.28
> GLPK include files...OK
> GLPK library file...OK
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home1/usr2/my_name/gnu4.28/lib/libglpk.a(glplib03.o)' is
> incompatible with i386:x86-64 output
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `/home1/usr2/my_name/gnu4.28/lib/libglpk.a(glplib04.o)' is
> incompatible with i386:x86-64 output

> This message also appeared when I used the following command for rebuild glpk.

> ./configure --prefix=/home/usr2/azuma/gnu4.28/ --disable-shared
> --without-gmp --without-zlib --disable-dl --disable-odbc
> --disable-mysql

Looks like you built glpk library for a 64-bit platform and try to link
it with 32-bit version of glpkmex.





reply via email to

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