ld_classic: can't locate file for: -lcrt0.o
and
ld: warning: in /usr/local/lib//libcfitsio.a, file is not of required architecture
In order to get it to run, I had to do the following:
- Install CFITSIO with
CFLAGS="-arch x86_64 -arch i386 -g -O2"
to /usr/local/lib - Edit the sky/Makefile OPT variable (line 23) to read:
OPT = -I. -O2 -fno-automatic -arch x86_64
export RATRAN=/path/to/Ratran
export RATRANRUN=/path/to/Ratran/run
1 comment:
Apparently you need to use gfortran 4.2 to get this to work
Post a Comment