bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] link time errors for GLPK 4.33 (follow up)


From: Robbie Morrison
Subject: [Bug-glpk] link time errors for GLPK 4.33 (follow up)
Date: Tue, 4 Nov 2008 22:55:51 +0300

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 <address@hidden>
> Subject:     Re: [Bug-glpk] link time errors for GLPK 4.33
> Message-ID: <address@hidden>
> From:        Andrew Makhorin <address@hidden>
> 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) : address@hidden
Webmail (preferred)           : address@hidden
[from IMAP client]








reply via email to

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