Hi Team, I was trying to use Pydoop with Anaconda Python distribution. It is giving me following error.
Any clue how to resolve it.
ImportError Traceback (most recent call last) <ipython-input-1-8458a5c34efc> in <module>() ----> 1 from pydoop.pipes import Mapper
/home/ubuntu/anaconda/lib/python2.7/site-packages/pydoop/pipes.py in <module>() 27 28 import pydoop ---> 29 pp = pydoop.import_version_specific_module('_pipes') 30 31
/home/ubuntu/anaconda/lib/python2.7/site-packages/pydoop/init.pyc in import_version_specific_module(name) 109 110 def import_version_specific_module(name): --> 111 return import_module(complete_mod_name(name))
/home/ubuntu/anaconda/lib/python2.7/importlib/init.pyc in import_module(name, package) 35 level += 1 36 name = _resolve_name(name[level:], package, level) ---> 37 import(name) 38 return sys.modules[name]
ImportError: /home/ubuntu/anaconda/lib/python2.7/site-packages/pydoop/_pipes_0_20_2_cdh_3_2_5.so: undefined symbol: BIO_s_mem
Best regards Jagan
Hi,
BIO_s_mem is part of the ssl library, and your Pydoop extension modules are having trouble finding it at runtime. Try setting LD_PRELOAD to the full path of your libssl, e.g.:
BIO_s_mem
LD_PRELOAD
export LD_PRELOAD=/lib/x86_64-linux-gnu/libssl.so.1.0.0
If you don't know where to find libssl on your system, try running the following command:
ldconfig -p | grep libssl
Log in to post a comment.
Hi Team,
I was trying to use Pydoop with Anaconda Python distribution.
It is giving me following error.
Any clue how to resolve it.
ImportError Traceback (most recent call last)
<ipython-input-1-8458a5c34efc> in <module>()
----> 1 from pydoop.pipes import Mapper
/home/ubuntu/anaconda/lib/python2.7/site-packages/pydoop/pipes.py in <module>()
27
28 import pydoop
---> 29 pp = pydoop.import_version_specific_module('_pipes')
30
31
/home/ubuntu/anaconda/lib/python2.7/site-packages/pydoop/init.pyc in import_version_specific_module(name)
109
110 def import_version_specific_module(name):
--> 111 return import_module(complete_mod_name(name))
/home/ubuntu/anaconda/lib/python2.7/importlib/init.pyc in import_module(name, package)
35 level += 1
36 name = _resolve_name(name[level:], package, level)
---> 37 import(name)
38 return sys.modules[name]
ImportError: /home/ubuntu/anaconda/lib/python2.7/site-packages/pydoop/_pipes_0_20_2_cdh_3_2_5.so: undefined symbol: BIO_s_mem
Best regards
Jagan
Hi,
BIO_s_mem
is part of the ssl library, and your Pydoop extension modules are having trouble finding it at runtime. Try settingLD_PRELOAD
to the full path of your libssl, e.g.:If you don't know where to find libssl on your system, try running the following command:
Last edit: Simone Leo 2013-11-05