title: Pydoop: No module named _hdfs_*
body: <p>I was able to build and install <strong>Pydoop</strong> without errors, so, for example, I can do the following: </p>
  
  <pre><code>&gt;&gt;&gt; import pydoop
  &gt;&gt;&gt; pydoop.__version__
  '0.10.0'
  </code></pre>
  
  <p>However, when I try to import main Pydoop modules such as <code>pipes</code> or <code>hdfs</code> I'm getting <strong><code>ImportError</code></strong>: </p>
  
  <pre><code>&gt;&gt;&gt; import pydoop.hdfs
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "pydoop/hdfs/__init__.py", line 79, in &lt;module&gt;
      from fs import hdfs, default_is_local
    File "pydoop/hdfs/fs.py", line 28, in &lt;module&gt;
      hdfs_ext = pydoop.import_version_specific_module("_hdfs")
    File "pydoop/__init__.py", line 111, in import_version_specific_module
      return import_module(complete_mod_name(name))
    File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
  ImportError: No module named _hdfs_2_0_0_cdh_4_3_0
  </code></pre>
  
  <p>In addition, when I try to use <code>pydoop script</code> I'm getting such a <strong>hint</strong>: </p>
  
  <pre><code>...
  ImportError: /usr/local/lib/python2.7/dist-packages/pydoop/_pipes_2_0_0_cdh_4_3_0.so: undefined symbol: BIO_s_mem
  </code></pre>
  
  <p><code>BIO_s_mem</code> is a symbol from <strong><code>libssl</code></strong> (OpenSSL), so I guess Pydoop can't find this shared library. I made sure it is available, ends with <code>.so</code> (as opposed to, say, <code>.so.1</code>) and is in <code>LD_LIBRARY_PATH</code>. </p>
  
  <p>So what may be the <strong>reason for this error</strong>? How can I <strong>fix it</strong> (build options? environment variables?)</p>
  
  <p>Any help is appreciated. </p>