[Python-Dev] Python 2.7.13 unmodified will not build from source on Mac OS El Capitan (10.11)

Bryan Dunphy b.dunphy.342 at gmail.com
Tue Feb 28 13:25:24 EST 2017


I have Xcode installed and other large projects build just fine. I ran “./configure && make” in the “Python-2.7.13” directory and “make” generated two errors both referring to the same thing missing. The exact error messages are copied and pasted below.

dyld: lazy symbol binding failed: Symbol not found: _getentropy
  Referenced from: /Users/bryandunphy/Downloads/Python-2.7.13/./python.exe
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _getentropy
  Referenced from: /Users/bryandunphy/Downloads/Python-2.7.13/./python.exe
  Expected in: /usr/lib/libSystem.B.dylib

/bin/sh: line 1: 14105 Trace/BPT trap: 5       CC='gcc' LDSHARED='gcc -bundle -undefined dynamic_lookup -L/usr/local/lib' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python.exe -E ./setup.py $quiet build
make: *** [sharedmods] Error 133

That was the final output from make.

Any ideas on how to fix these errors and allow a build?


More information about the Python-Dev mailing list