[Pythonmac-SIG] Re: Pythonmac-SIG] SciPy
Marcel Prastawa
prastawa@cs.unc.edu
Mon, 4 Mar 2002 09:57:58 -0500
On Monday, March 4, 2002, at 07:43 , Jeff Whitaker wrote:
> Marcel: Thanks for the tip. Unfortunately, when I remove the
> "-flat_namespace" and "-undefined suppress" flags I get lots of undefined
> ... [snip] ...
> I wonder how you avoided this?
The symbols are defined in the Python executable. You should link the
extension to it by using the -bundle_loader flag.
Ex: cc ... -bundle_loader /sw/bin/python.exe
Adding it to BLDSHARED/LDSHARED in the Makefile should get it to work.
Marcel