I installed open ssl, still getting error at .. cmake time :---<br><div class="gmail_quote"><br>where to set this -- > <b>OPENSSL_ROOT_DIR</b>  ................    ???????<br><br>Also openssl is installed here :---<br>ssl header   -- > /usr/local/ssl/include/openssl/<br>

ssl library is here  -- > /usr/local/ssl/lib/libssl.a <br>                         /usr/local/ssl/lib/libcrypto.a <br>openssl is here  -- > /usr/local/ssl/bin<br><br>===================== Error ======================<div class="im">
<br>
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.7") <br>ZLib include dirs: /usr/include<br>ZLib libraries: /usr/lib/arm-linux-gnueabihf/libz.so<br>Compiling with SSL support<br>CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):<br>

 <b> Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the<br>  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES<br>  OPENSSL_INCLUDE_DIR)</b><br>Call Stack (most recent call first):<br>  /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)<br>

  /usr/local/share/cmake-2.8/Modules/FindOpenSSL.cmake:313 (find_package_handle_standard_args)<br>  CMakeLists.txt:436 (find_package)<br><br><br></div>===============================<div class="HOEnZb"><div class="h5"><br>
<br><div class="gmail_quote">On Fri, Apr 26, 2013 at 9:14 AM, Dinesh Guleria <span dir="ltr"><<a href="mailto:din.gulu.er@gmail.com" target="_blank">din.gulu.er@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks, then i will install this <span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">openssl-1.0.1e.tar.gz.</span><div>

<font color="#222222" face="arial, sans-serif"><br>
</font></div><div><font color="#222222" face="arial, sans-serif">//Regards,</font></div><div><font color="#222222" face="arial, sans-serif">Din<br></font><div><div><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 3:22 AM, Andy Green <span dir="ltr"><<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>If you're asking a question, stick  "?" somewhere in your mail.<br>
<br>
Make install will probably put the headers in /usr/local/include/ssl/ or simila.<div><div><br>
<br>
-Andy<br><br><div class="gmail_quote">Dinesh Guleria <<a href="http://din.gulu.er" target="_blank">din.gulu.er</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



Please anyone can confirm on it ?<div><br></div><div>Regards,</div><div>Din<br><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 6:10 PM, Dinesh Guleria <span dir="ltr"><<a href="mailto:din.gulu.er@gmail.com" target="_blank">din.gulu.er@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Andy.. actually i have, source tarball from here. it have configure script to make & make install<div><a href="http://www.openssl.org/source/" target="_blank">http://www.openssl.org/source/</a></div>



<div>openssl-1.0.1e.tar.gz</div><div>
<div><br></div><div>>> You probably need to instal openssl-dev or openssl-devel package to get the headers.</div></div><div>So with this (openssl-1.0.1e.tar.gz) i be able to achive same what you suggested above.</div>



<div>
<br></div><div>Regards,</div><div>//Din</div><div><div><div><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 3:58 PM, Andy Green <span dir="ltr"><<a href="mailto:andy@warmcat.com" target="_blank">andy@warmcat.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>You probably need to instal openssl-dev or openssl-devel package to get the headers.<br>
<br>
-Andy<br><br><div class="gmail_quote">Dinesh Guleria <<a href="http://din.gulu.er" target="_blank">din.gulu.er</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div><div>
Hi,<div><br></div><div>As per Readme file libwebsocket requires openssl installes.<br><div><br></div><div>openssl is here :---</div><div><b><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">openssl: /usr/bin/openssl /usr/bin/X11/openssl /usr/share/man/man1/openssl.</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">1ssl.gz</span></b><br>





<br>But i am not able to find the -- open ssl header folder in --- </div><div>/usr/lib</div><div>/usr/local/lib</div><div><br></div><div>This means that openssl is not installed ? Then how come openssl executable is there in -- /usr/bin ?</div>





<div><br></div><div>Please suggest what shall i do. Install openssh again</div><div><br></div><div>//Din</div><div><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 12:14 PM, Dinesh Guleria <span dir="ltr"><<a href="mailto:din.gulu.er@gmail.com" target="_blank">din.gulu.er@gmail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I am getting following error when i build latest libwebsocket at the time of, cmake ...<br><br>But openssl is installed here<br>





<b>whereis openssl</b><br>openssl: /usr/bin/openssl /usr/bin/X11/openssl /usr/share/man/man1/openssl.1ssl.gz<br>
<br>What is openssl root folder ?<br>=================================== Error ================<br><br><br>-- Looking for 4 include files stdlib.h, ..., float.h - found<br>-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.7") <br>






ZLib include dirs: /usr/include<br>ZLib libraries: /usr/lib/arm-linux-gnueabihf/libz.so<br>Compiling with SSL support<br>CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):<br>






  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the<br>  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES<br>  OPENSSL_INCLUDE_DIR)<br>Call Stack (most recent call first):<br>  /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)<br>






  /usr/local/share/cmake-2.8/Modules/FindOpenSSL.cmake:313 (find_package_handle_standard_args)<br>  CMakeLists.txt:436 (find_package)<br><br><br>-- Configuring incomplete, errors occurred!<br><br>======================================= openssl ========================<br>






<br>ignite@ignite:~/sbox2/rootfs/rfs-raspbian_2/home/pi/libwebsockets/build$  <b>whereis openssl</b><br>openssl: /usr/bin/openssl /usr/bin/X11/openssl /usr/share/man/man1/openssl.1ssl.gz<br><br><br>Please suggest.<br><br>






//Regards,<br>Din<br>
</blockquote></div><br></div></div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></div></div><pre style="white-space:pre-wrap;word-wrap:break-word;font-family:sans-serif;margin-top:0px"><hr><br>Libwebsockets mailing list<br>




<a href="mailto:Libwebsockets@ml.libwebsockets.org" target="_blank">Libwebsockets@ml.libwebsockets.org</a><br><a href="http://ml.libwebsockets.org/mailman/listinfo/libwebsockets" target="_blank">http://ml.libwebsockets.org/mailman/listinfo/libwebsockets</a><br>




</pre></blockquote></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div></div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></div><br>