[SciPy-user] Re: Scipy help?

Christopher Fonnesbeck chris at fonnesbeck.org
Mon Apr 26 16:30:11 CDT 2004


On Apr 26, 2004, at 1:53 PM, Pearu Peterson wrote:

>> Sorry, I didnt mean to send that to the list, but it sounds like its a
>> good thing that I did. On OSX, building scipy without disabling the
>> sparse module gives the following error:
>>
>> gcc -Wl,-F. -Wl,-F. -bundle -framework Python
>> build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/
>> _zsuperlumodule.o
>> build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/ 
>> _superlu_utils.o
>> build/temp.darwin-7.3.0-Power_Macintosh-2.3/Lib/sparse/ 
>> _superluobject.o
>> -Lbuild/temp.darwin-7.3.0-Power_Macintosh-2.3 -lsuperlu_src -o
>> build/lib.darwin-7.3.0-Power_Macintosh-2.3/scipy/sparse/_zsuperlu.so
>> -Wl,-framework -Wl,Accelerate
>> ld: multiple definitions of symbol _scipy_superlu
>
> Could you try adding
>
> #define NO_IMPORT_ARRAY
>
> line to _superluobject.c, just before the following line:
>
> #include "_superluobject.h"
>
> ? Will linking work then?
>

This appears to work! Thanks Pearu. I assume you will fix this in CVS?  
I will edit the OSX install document to reflect this fix.

Chris

--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

"More and more of our imports come from overseas."
          George W. Bush, 25 September 2000
--
Putting http://wecanstopspam.org in your email helps it pass through  
overzealous spam filters.



More information about the SciPy-user mailing list