Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Installation appears to be successful. However, when launching the Python Interpreter and entering 'import gmp', it
- # errs with: OSError: dlopen() Symbol not found: __ZNSs4_Rep20_S_empty_rep_
- # I found a post on the Anaconda Google Group that mentioned zeromq library linking to symbols not available in system:
- # https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/2Ywv6ggdIo4
- # http://superuser.com/questions/282450/where-do-i-set-dyld-library-path-on-mac-os-x-and-is-it-a-good-idea
- # http://stackoverflow.com/questions/1596945/building-osx-app-bundle
- # regarding otools -L and install_name_tool
- (test1)Rise:test1 riseriyo$ conda list
- # packages in environment at /Users/riseriyo/anaconda/envs/test1:
- #
- dill 0.2.1 <pip>
- gevent 1.0.1 <pip>
- gmp (/Users/riseriyo/workspace/test1/src/gmp) 0.0.1 <pip>
- greenlet 0.4.5 <pip>
- openssl 1.0.1h 1
- pip 1.5.6 py27_0
- python 2.7.8 1
- pyzmq 14.4.1 <pip>
- readline 6.2 2
- setuptools 7.0 py27_0
- sqlite 3.8.4.1 0
- tk 8.5.15 0
- wsgiref 0.1.2 <pip>
- zlib 1.2.7 1
- (test1)Rise:test1 riseriyo$ python
- Python 2.7.8 |Continuum Analytics, Inc.| (default, Aug 21 2014, 15:21:46)
- [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- Anaconda is brought to you by Continuum Analytics.
- Please check out: http://continuum.io/thanks and https://binstar.org
- >>> import gmp
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/Users/riseriyo/workspace/test1/src/gmp/gmp/__init__.py", line 2, in <module>
- from worker import WorkerHandle as Worker
- File "/Users/riseriyo/workspace/test1/src/gmp/gmp/worker.py", line 4, in <module>
- import zmq.green as zmq
- File "/Users/riseriyo/anaconda/envs/test1/lib/python2.7/site-packages/zmq/__init__.py", line 32, in <module>
- _libzmq = ctypes.CDLL(bundled[0], mode=ctypes.RTLD_GLOBAL)
- File "/Users/riseriyo/anaconda/envs/test1/lib/python2.7/ctypes/__init__.py", line 365, in __init__
- self._handle = _dlopen(self._name, mode)
- OSError: dlopen(/Users/riseriyo/anaconda/envs/test1/lib/python2.7/site-packages/zmq/libzmq.so, 10): Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE
- Referenced from: /Users/riseriyo/anaconda/envs/test1/lib/python2.7/site-packages/zmq/libzmq.so
- Expected in: dynamic lookup
- >>>
- (test2)Rise:test2 riseriyo$ otool -L /Users/riseriyo/anaconda/envs/test2/lib/python2.7/site-packages/zmq/libzmq.so
- /Users/riseriyo/anaconda/envs/test2/lib/python2.7/site-packages/zmq/libzmq.so:
- /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
- /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 283.0.0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement