title: OpenSSL error building Erlang OTP from source
body: <p>Trying to build a completely self-contained OTP that can be moved around independently of libs installed on a system.</p>
  
  <p>Build OpenSSL 1.0.0d from source as follows:</p>
  
  <pre><code>./config --prefix=&lt;open-ssl-dir&gt;
  make
  make install
  </code></pre>
  
  <p>Then OTP R14B03:</p>
  
  <pre><code>./configure --prefix=&lt;erlang-dir&gt; --with-ssl=&lt;open-ssl-dir&gt; --without-termcap
  </code></pre>
  
  <p>Make of Erlang then fails as follows:</p>
  
  <pre><code>relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
  </code></pre>
  
  <p>We're talking Ubuntu 10.04. Any help greatly appreciated - thanks!</p>