Building things with setup.py
jstroud at mbi.ucla.edu
Fri Sep 22 11:35:28 CEST 2006
Martin v. Löwis wrote:
> James Stroud schrieb:
>> This is annoying. I am trying to build scipy right now but every .so
>> file requires my adding "-lpython2.5 -lpthread -lm -lutil -ldl -shared"
>> to the ld flags.
> That shouldn't be necessary. Linking without this should work just fine.
Unfortunately, this was not my experience.
> That way, since you made libpython2.5.a a static library, you link an
> entire Python interpreter into each and every extension module. This
> should not be done.
Actually, a straight configure, make, install of the python2.5 source
produced this library.
> What happens if you omit these flags?
Please see my last message to Robert Kern.
More information about the Python-list