Re: Build error: math library not linked - Mailing list psycopg

From Federico Di Gregorio
Subject Re: Build error: math library not linked
Date
Msg-id 4D7DDDA7.2000405@dndg.it
Whole thread Raw
In response to Build error: math library not linked  ("P. Christeas" <p_christ@hol.gr>)
Responses Re: Build error: math library not linked  ("P. Christeas" <p_christ@hol.gr>)
List psycopg
On 13/03/11 23:21, P. Christeas wrote:
> I upgraded to mageia α2, which uses python2.7 . Trying to build psycopg2 again
> for it, stumbled accross unresolved errors for the floating point functions.
> Indeed, final linking step didn't include "-lm" to the linker.
>
> Added it with commit 4e29da5cda6aa3, as found at:
> http://members.hellug.gr/xrg/repos/psycopg2
> (browse at http://git.hellug.gr/?p=xrg/psycopg2)
>
> Please check your platforms. Is libm already linked against? Could you
> forecast any side-effect from explicitly mentioning it (as in the patch) ?

On my Linux box libm is not linked in and I don't have any problem. Can
you please tell us you system version and the exact errors?

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
              Una nazionale senza neanche una nazione. -- macchinavapore

psycopg by date:

Previous
From: "P. Christeas"
Date:
Subject: Build error: math library not linked
Next
From: "P. Christeas"
Date:
Subject: Re: Build error: math library not linked