title: Issues seen during compilation of Net::SSLeay on linux and windows
body: <p>We have downloaded Net::SSLeay module source from cpan and would like to compile it locally and use it. We are facing issues in two situations.</p>
  
  <p>We need your suggestions on couple of items:</p>
  
  <p>1)  We need to use Net::SSLeay module. We have compiled it on Linux x86_64 box using the following statements:
  perl Makefile.PL INC=-I”/include" LIBS=-L” /lib" </p>
  
  <p>This generates a Makefile which doesn’t seem to use –lcrypto option. I want to use this option since we are seeing the following error at the runtime:</p>
  
  <p>undefined symbol: X509_EXTENSION_free</p>
  
  <p>From the below link, it appears that we need to include –lcrypto option. Please help us how to include this option. I tried looking into Makefile.pl but could not understand much since I am new to this Makefile.</p>
  
  <p><a href="http://w3facility.org/question/what-is-undefined-symbol-x509_extension_free/" rel="nofollow">http://w3facility.org/question/what-is-undefined-symbol-x509_extension_free/</a></p>
  
  <p>2)  Secondly, while building on Windows, we need to include openssl_path, but INC= and LIBS= doesn’t seem to work. Openssl libraries are already present in a local directory. Please let us know how to include the path with the #perl Makefile.pl option.</p>
  
  <p>Your suggestions will be very much appreciated.</p>