title: Using OpenSSL library in D
body: <p>I have trouble using the OpenSSL library with dmd+tango bundle on Ubuntu 10.04.
  I have compilled OpenSSL 1.0.0d. I've got files:</p>
  
  <ul>
  <li>/usr/local/ssl/lib/libssl.a</li>
  <li>/usr/local/ssl/lib/libcrypto.a</li>
  </ul>
  
  <p>So, I'm using them like this:</p>
  
  <blockquote>
    <p>$ dmd myfile.d -L/usr/local/ssl/lib
    -L-lssl -L-lcrypto</p>
  </blockquote>
  
  <p>And the error is:</p>
  
  <pre><code>/usr/bin/ld: /usr/local/ssl/lib: No such file: File format not recognized
  collect2: ld returned 1 exit status
  --- errorlevel 1
  </code></pre>
  
  <p>I have tried this also with OpenSSL 0.9.8r. I have no idea :/</p>
  
  <p>I can generate ssl certificates, so I assume the OpenSSL works correct.</p>
  
  <p>Please help me.</p>