title: Link error: undefined reference to EVP_CIPHER_CTX_ and EVP_CIPHER_CTX_init
body: <p>I am using crypto++ in my code. I don't want to use its dependencies so i've tried to import crypto++ files in my folder and include them in my .cpp file</p>
  
  <p>I have the followng errors:</p>
  
  <pre><code>TEST.cpp:(.text+0x89a0): undefined reference to `EVP_CIPHER_CTX_init'
  TEST.cpp:(.text+0x8cb0): undefined reference to `EVP_aes_128_cbc'
  TEST.cpp:(.text+0x8cdd): undefined reference to `EVP_CipherInit_ex'
  TEST.cpp:(.text+0x8d49): undefined reference to `EVP_CipherUpdate'
  TEST.cpp:(.text+0x8dd6): undefined reference to `EVP_CipherFinal_ex'
  TEST.cpp:(.text+0x922d): undefined reference to `EVP_CIPHER_CTX_cleanup'
  </code></pre>
  
  <p>what am i missing? need some help. Appreciate!
  I am working in ubuntu.</p>