On May 2, 2013, at 5:15 PM, Ryan Schmidt <[email protected]> wrote:

> 
> 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"

When I do that, it acts as if I have cleared the LDFLAGS and fails with the 
original error where it cannot find even the python libraries when compiling 
Fortran. I also tried single quotes and the same error occurred. 


-Frank



_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to