Re: Building things with setup.py



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.

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.

What happens if you omit these flags?

Regards,
Martin
.



Relevant Pages

  • Re: Building things with setup.py
    ... to the ld flags. ... Linking without this should work just fine. ... entire Python interpreter into each and every extension module. ...
    (comp.lang.python)
  • Re: Unsatisfied Symbols: main
    ... Ralf, any suggestions on what that book is? ... flags are bogus. ... Then study http://www.iecc.com/linker to better understand the linking process. ...
    (comp.unix.programmer)
  • RE: how to enable auto power off
    ... I omit the hints unless I ... The BIOS supports APM, and ACPI. ... I will omit the flags the next time I make kernel. ...
    (freebsd-questions)