Hello API users

The fix was indeed as simple as linking to 'libgmp'
using the compiler option '-lgmp'.  Something which
I had not needed to do before.  ;-)

Thanks to Andrew for his prompt reply.

Robbie
---

> ------------------------------------------------------------
> To:          Robbie Morrison <[EMAIL PROTECTED]>
> Subject:     Re: [Bug-glpk] link time errors for GLPK 4.33
> Message-ID: <[EMAIL PROTECTED]>
> From:        Andrew Makhorin <[EMAIL PROTECTED]>
> Date:        Fri, 31 Oct 2008 22:35:20 +0300
> ------------------------------------------------------------
>
>> I am having trouble linking against my new build of
>> GLPK 4.33.  This is somewhat puzzling as my build
>> process is the same as always.  First, my config
>> options are:
>
>>   $ ./configure --disable-shared --with-gmp

[snip]

> There is nothing unusual. On configuring the glpk
> package you specified the option '--with-gmp', so
> some glpk routines refer to the gnu mp library
> routines. This means that on linking your program you
> should specify both -lglpk and -lgmp.

---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : [EMAIL PROTECTED]
Webmail (preferred)           : [EMAIL PROTECTED]
[from IMAP client]






_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to