Build error: math library not linked

Поиск
Список
Период
Сортировка
От P. Christeas
Тема Build error: math library not linked
Дата
Msg-id 201103140021.14633.p_christ@hol.gr
обсуждение исходный текст
Ответы Re: Build error: math library not linked
Список psycopg
after trying my luck with lighthouseapp, let me post the bug here:

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) ?


--
Say NO to spam and viruses. Stop using Microsoft Windows!

В списке psycopg по дате отправления:

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: psycopg2 not using appropriate type?
Следующее
От: Federico Di Gregorio
Дата:
Сообщение: Re: Build error: math library not linked