Andreas Voellmy
2005-07-21 21:06:12 UTC
Hello, I just joined the mailing list. This looks like a great tool. I
work for the National Weather Service, and this tool could become very
important for us. I'm trying to get started with it, but am having
some trouble.
I'm trying to compile the hello world sample on Mac OS X panther with
the gfortran (GCC 4.1.0 20050611) fortran compiler. I ran the
following command:
f2py --f77exec=/usr/local/bin/gfortran -c -m hello hello.f
The sources seem to compile. Then the following command is executed:
/usr/local/bin/gfortran -Wl,-framework -Wl,Python -lcc_dynamic -bundle
/tmp/tmpZaDVS4/tmp/tmpZaDVS4/src/hellomodule.o
/tmp/tmpZaDVS4/tmp/tmpZaDVS4/src/fortranobject.o
/tmp/tmpZaDVS4/hello.o
-L/usr/local/lib/gcc/powerpc-apple-darwin9.1.0/4.1.0 -lg2c -o
./hello.so
And then I get the following message (twice):
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
My apologies if this is a silly question, but I would really
appreciate any help on this issue.
Regards, Andreas
work for the National Weather Service, and this tool could become very
important for us. I'm trying to get started with it, but am having
some trouble.
I'm trying to compile the hello world sample on Mac OS X panther with
the gfortran (GCC 4.1.0 20050611) fortran compiler. I ran the
following command:
f2py --f77exec=/usr/local/bin/gfortran -c -m hello hello.f
The sources seem to compile. Then the following command is executed:
/usr/local/bin/gfortran -Wl,-framework -Wl,Python -lcc_dynamic -bundle
/tmp/tmpZaDVS4/tmp/tmpZaDVS4/src/hellomodule.o
/tmp/tmpZaDVS4/tmp/tmpZaDVS4/src/fortranobject.o
/tmp/tmpZaDVS4/hello.o
-L/usr/local/lib/gcc/powerpc-apple-darwin9.1.0/4.1.0 -lg2c -o
./hello.so
And then I get the following message (twice):
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
My apologies if this is a silly question, but I would really
appreciate any help on this issue.
Regards, Andreas