Re: Building things with setup.py
- From: James Stroud <jstroud@xxxxxxxxxxxx>
- Date: Fri, 22 Sep 2006 09:35:28 GMT
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.
James
.
- Follow-Ups:
- Re: Building things with setup.py
- From: "Martin v. Löwis"
- Re: Building things with setup.py
- References:
- Building things with setup.py
- From: James Stroud
- Re: Building things with setup.py
- From: "Martin v. Löwis"
- Building things with setup.py
- Prev by Date: Re: Building things with setup.py
- Next by Date: Re: Can I inherit member variables?
- Previous by thread: Re: Building things with setup.py
- Next by thread: Re: Building things with setup.py
- Index(es):
Relevant Pages
|