[pypy-issue] Issue #2432: problems with pypy on osx, dyld: symbol not found _clock_gettime (pypy/pypy)
Irmen de Jong
issues-reply at bitbucket.org
Mon Nov 14 16:43:45 EST 2016
New issue 2432: problems with pypy on osx, dyld: symbol not found _clock_gettime
https://bitbucket.org/pypy/pypy/issues/2432/problems-with-pypy-on-osx-dyld-symbol-not
Irmen de Jong:
I'm using homebrew on OSX 10.11.6 El capitan. Tonight I used it to upgrade to pypy 5.6.0 but this is now causing dynamic linking symbol issues.
I think it is caused by the fact that they offer a compiled pypy version that was created using the version 8 compiler tools on OSX 10.12 Sierra and I'm running it on the previous OSX version. Some googling results in dozens of projects having dyld symbol issues related to this, for instance https://github.com/civetweb/civetweb/issues/349
I was wondering if this is something that homebrew should fix? Or is it something that should be fixed in pypy itself?
The exact error I'm getting:
```
#!python
phobos:~ irmen$ pypy
Python 2.7.12 (aff251e543859ce4508159dd9f1a82a2f553de00, Nov 13 2016, 01:57:35)
[PyPy 5.6.0 with GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>> import time
>>>> time.clock()
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /usr/local/Cellar/pypy/5.6.0/libexec/lib/libpypy-c.dylib
Expected in: flat namespace
dyld: Symbol not found: _clock_gettime
Referenced from: /usr/local/Cellar/pypy/5.6.0/libexec/lib/libpypy-c.dylib
Expected in: flat namespace
Trace/BPT trap: 5
phobos:~ irmen$
```
More information about the pypy-issue
mailing list