title: Ubuntu and undefined symbol for SSLv2_method
body: <p>Is Canonical renaming symbols in their package version of openssl, and if so for what purpose?  When I compile openssl-1.0.0e.tar.gz (downloaded from openssl.org directly) from scratch I see the necessary symbol, but Python (and I) can't seem to find it in the packaged version.  </p>
  
  <p>Read on for more information about how I diagnosed this problem...</p>
  
  <p>I am trying to compile Python 2.6.1 on Ubuntu 11.10, and get the error message above.  The reason I am using this older Python is that I am trying to make my Ubuntu installation 100% compatible with a production system for development purposes.</p>
  
  <p>When performing</p>
  
  <pre><code>strace -feopen make -j4 |&amp; grep "libssl"
  </code></pre>
  
  <p>I see that I am using a promising file:  </p>
  
  <p>[pid 22614] open("/usr/lib/x86_64-linux-gnu//libssl.so", O_RDONLY) = 7</p>
  
  <p>Running nm, this file has no symbols.  However the .a file does have a similar one:</p>
  
  <p>0000000000000030 T SSLv23_method</p>
  
  <p>The package libssl1.0.0-dbg is installed via synaptic, however when I list the installed files for this package all I see is "The list of installed files is only available for installed packages" which is clearly an Ubuntu bug.  So I am not sure how I am supposed to check which symbols are present in the .so.  </p>
  
  <p>However, I am suspicious that they have renamed SSLv2_method to SSLv23_method in any case.</p>
  
  <p>How to proceed to figure out the status of Ubuntu's openssl-1.0.0?  </p>