title: Undefined reference to EVP_idea_ecb on Debian
body: <p>I have the following code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;openssl/evp.h&gt;
  int main (int argc, char *argv[]) {
      EVP_CIPHER *cipher;
      EVP_idea_ecb();
  }
  </code></pre>
  
  <p>I know, this is not much, but it should compile without complaints, but I get</p>
  
  <pre><code>gcc Testfile.c -lssl -lcrypto
  Testfile.c:(.text+0xec): undefined reference to `EVP_idea_ecb'
  
  gcc Testfile.c -lss
  /usr/bin/ld: /tmp/ccgbkhFA.o: undefined reference to symbol 'EVP_CIPHER_iv_length@@OPENSSL_1.0.0'
  //usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command linel
  </code></pre>
  
  <p><code>libssl-dev</code> are installed. Any ideas what is going wrong here?</p>
  
  <p>My distro: Debian Jessie on x64.</p>