Skip to content

Instantly share code, notes, and snippets.

@ngoldbaum
Created September 23, 2013 17:29
Show Gist options
  • Save ngoldbaum/6674064 to your computer and use it in GitHub Desktop.
Save ngoldbaum/6674064 to your computer and use it in GitHub Desktop.
LDFLAGS=-arch x86_64
HDF5_DIR=/Users/goldbaum/anaconda/conda-bld/build_env
PY_VER=2.7
CXXFLAGS=-arch x86_64
CONDA_BUILD=1
PATH=/Users/goldbaum/anaconda/conda-bld/build_env/bin:/Users/goldbaum/anaconda/bin:/Users/goldbaum/yt-conda/bin:/usr/local/bin:/usr/local/sbin:/Users/goldbaum/Documents/charm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/texbin:/Users/goldbaum/.cabal/bin
SRC_DIR=/Users/goldbaum/anaconda/conda-bld/work/h5py-2.2.0
PWD=/Users/goldbaum/anaconda/conda-bld/work/h5py-2.2.0
PY3K=0
STDLIB_DIR=/Users/goldbaum/anaconda/conda-bld/build_env/lib/python2.7
LANG=en_US.UTF-8
SHLVL=1
OSX_ARCH=x86_64
HOME=/Users/goldbaum
CFLAGS=-arch x86_64
SP_DIR=/Users/goldbaum/anaconda/conda-bld/build_env/lib/python2.7/site-packages
SYS_PREFIX=/Users/goldbaum/anaconda
MACOSX_DEPLOYMENT_TARGET=10.5
PREFIX=/Users/goldbaum/anaconda/conda-bld/build_env
RECIPE_DIR=/Users/goldbaum/Documents/conda-recipes/h5py
PKG_CONFIG_PATH=/Users/goldbaum/anaconda/conda-bld/build_env/lib/pkgconfig
SYS_PYTHON=/Users/goldbaum/anaconda/bin/python
PYTHON=/Users/goldbaum/anaconda/conda-bld/build_env/bin/python
_=/usr/bin/env
Under conda:
gcc -bundle -undefined dynamic_lookup -L/Users/goldbaum/anaconda/conda-bld/build_env/lib -arch x86_64 -arch x86_64 -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/h5py/defs.o -L/Users/goldbaum/anaconda/conda-bld/build_env/lib -L/Users/goldbaum/anaconda/conda-bld/build_env/lib64 -L/Users/goldbaum/anaconda/conda-bld/build_env/lib -L/Users/goldbaum/anaconda/conda-bld/build_env/lib64 -lhdf5 -lhdf5_hl -o build/lib.macosx-10.5-x86_64-2.7/h5py/defs.so
ld: warning: directory not found for option '-L/Users/goldbaum/anaconda/conda-bld/build_env/lib64'
ld: warning: directory not found for option '-L/Users/goldbaum/anaconda/conda-bld/build_env/lib64'
Under pip:
gcc -bundle -undefined dynamic_lookup -L/Users/goldbaum/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/h5py/defs.o -L/opt/local/lib -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib -lhdf5 -lhdf5_hl -o build/lib.macosx-10.5-x86_64-2.7/h5py/defs.so
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
ld: mach-o string pool extends beyond end of file in /Users/goldbaum/anaconda/lib/libhdf5.dylib file '/Users/goldbaum/anaconda/lib/libhdf5.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment