[SciPy-user] Installing SciPy on Mac OS X Tiger

Robert Kern rkern at ucsd.edu
Wed Jun 8 17:04:45 EDT 2005


Zhiwen Chong wrote:

[snippity]

> 5) It didn't work. The critical error seems to be this one:
> 
> /usr/local/bin/g77 -lcc_dynamic -bundle build/temp.darwin-8.1.0- 
> Power_Macintosh-2.4/build/src/Lib/fftpack/_fftpackmodule.o build/ 
> temp.darwin-8.1.0-Power_Macintosh-2.4/Lib/fftpack/src/zfft.o build/ 
> temp.darwin-8.1.0-Power_Macintosh-2.4/Lib/fftpack/src/drfft.o build/ 
> temp.darwin-8.1.0-Power_Macintosh-2.4/Lib/fftpack/src/zrfft.o build/ 
> temp.darwin-8.1.0-Power_Macintosh-2.4/Lib/fftpack/src/zfftnd.o build/ 
> temp.darwin-8.1.0-Power_Macintosh-2.4/build/src/fortranobject.o -L/ 
> usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 - 
> Lbuild/temp.darwin-8.1.0-Power_Macintosh-2.4 -ldfftpack -lrfftw - lfftw 
> -lg2c -o build/lib.darwin-8.1.0-Power_Macintosh-2.4/scipy/ 
> fftpack/_fftpack.so
> 
> /usr/bin/ld: can't locate file for: -lcc_dynamic
> collect2: ld returned 1 exit status

/usr/lib/libcc_dynamic.a should be a symbolic link to 
/usr/lib/gcc/darwin/default/libgcc.a . Can you check both of these paths?

When did you download g77 from hpc.sourceforge.net? I am successfully 
using one downloaded today.

-lcc_dynamic seems to be coming at the end of the linker arguments for 
me (using CVS).

> I can't figure out what it means. It seems related to this problem:
> http://sourceforge.net/mailarchive/message.php?msg_id=11853060
> But I already did a gcc_select 3.3, and I'm not using fink.
> 
> I checked my build path -- no spaces in directory names or anything  
> like that (which sometimes cause builds to fail).
> 
> I also tried building SciPy from the CVS sources, but same deal.

CVS builds fine for me. I know that I've fiddled with the OS X linking 
since the last release, so you will want to use CVS.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the SciPy-User mailing list