WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Installing error in the compilation of "build_FortFlex.sh" #37

@envhyf

Description

@envhyf

Following the instruction, I have installed all the packages and met error when compiling the setup.py file.
I found out that the issue was in the process of the compilation of build_FortFlex.sh
The error shows like this:

ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/gfortran -Wall -g -L/usr/local/NETCDF/lib  /var/folders/wg/d26_jxbj2p9gp7nkl90q0fbm0000gn/T/tmpmru57eln/var/folders/wg/d26_jxbj2p9gp7nkl90q0fbm0000gn/T/tmpmru57eln/src.macosx-10.9-x86_64-3.5/FortFlexmodule.o /var/folders/wg/d26_jxbj2p9gp7nkl90q0fbm0000gn/T/tmpmru57eln/var/folders/wg/d26_jxbj2p9gp7nkl90q0fbm0000gn/T/tmpmru57eln/src.macosx-10.9-x86_64-3.5/fortranobject.o /var/folders/wg/d26_jxbj2p9gp7nkl90q0fbm0000gn/T/tmpmru57eln/FortFlex.o -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3 -L/Users/HYF/anaconda/envs/py35/lib -lgfortran -o ./FortFlex.cpython-35m-darwin.so" failed with exit status 1

I would like to have an advice how to proceed.

PS: essential information about my compilation environment:

Darwin I.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 i386 MacBookAir7,2 Darwin        
Python 3.5, gcc 4.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions