Compiling Fortran code for Python module

Ryan Schmidt ryandesign at macports.org
Thu May 2 16:15:18 PDT 2013


On May 2, 2013, at 17:35, Frank Schima wrote:

> As an update. I added the following line to the Portfile which fixed the Fortran code and then goes on to break the C code being compiled later:
> 
>     build.env-append     LDFLAGS=-undefined dynamic_lookup -bundle
> 
> /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib dynamic_lookup build/temp.macosx-10.8-x86_64-2.7/qutip/cyQ/spmatfuncs.o -Lbuild/temp.macosx-10.8-x86_64-2.7 -o build/lib.macosx-10.8-x86_64-2.7/qutip/cyQ/spmatfuncs.so
> clang: error: no such file or directory: 'dynamic_lookup'

Surely you need to quote that?

build.env-append     LDFLAGS="-undefined dynamic_lookup -bundle"




More information about the macports-dev mailing list