# Cant find openssl

**URL:** <https://www.ruby-forum.com/t/cant-find-openssl/204639>\
**Category:** NGINX\
**Created:** [March 17, 2011, 2:53pm UTC](https://www.ruby-forum.com/t/cant-find-openssl/204639 "2011-03-17T14:53:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 17, 2011, 2:53pm UTC](https://www.ruby-forum.com/t/cant-find-openssl/204639/1 "2011-03-17T14:53:46Z")

</div>

OS:redhat 5.6

nginx version=nginx-0.8.54

getting following error

checking for OpenSSL library … not found

./configure: error: SSL modules require the OpenSSL library.  
You can either do not enable the modules, or install the OpenSSL library  
into the system, or build the OpenSSL library statically from the source  
with nginx by using --with-openssl= option.

openssl is installed  
-bash-3.2# which openssl  
/usr/bin/openssl

openssl-devel is as well

which lib is it looking forward?

Posted at Nginx Forum:

> **[cant find openssl](https://forum.nginx.org/read.php?2,183476,183476#msg-183476)**
>
> OS:redhat 5.6 nginx version=nginx-0.8.54 getting following error checking for OpenSSL library ... not found ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL

---

<div class="post-metadata">

**Author:** ![c\_saunders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@c\_saunders](https://www.ruby-forum.com/u/c_saunders)\
**Post date:** [March 17, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/cant-find-openssl/204639/2 "2011-03-17T15:03:52Z")

</div>

also seeing this in objs/autoconf.err

gcc: unrecognized option ‘-R/lib64/’

Posted at Nginx Forum:

> **[Re: cant find openssl](https://forum.nginx.org/read.php?2,183476,183481#msg-183481)**
>
> OS:redhat 5.6 nginx version=nginx-0.8.54 getting following error checking for OpenSSL library ... not found ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL

---

<div class="post-metadata">

**Author:** ![c\_saunders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@c\_saunders](https://www.ruby-forum.com/u/c_saunders)\
**Post date:** [March 17, 2011, 3:40pm UTC](https://www.ruby-forum.com/t/cant-find-openssl/204639/3 "2011-03-17T15:40:55Z")

</div>

Hello!

On Thu, Mar 17, 2011 at 09:51:45AM -0400, c\_saunders wrote:

> into the system, or build the OpenSSL library statically from the source  
> with nginx by using --with-openssl= option.
> 
> openssl is installed  
> -bash-3.2# which openssl  
> /usr/bin/openssl
> 
> openssl-devel is as well
> 
> which lib is it looking forward?

nginx looks for openssl/ssl.h header and libssl and libcrypto  
libraries.

Use something like

./configure --with-cc-opt=“-I /path/to/include” --with-ld-opt=“-L  
/path/to/lib”

if you don’t have these available to compiler by default.

Maxim D.

---

<div class="post-metadata">

**Author:** ![c\_saunders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@c\_saunders](https://www.ruby-forum.com/u/c_saunders)\
**Post date:** [March 17, 2011, 4:53pm UTC](https://www.ruby-forum.com/t/cant-find-openssl/204639/4 "2011-03-17T16:53:12Z")

</div>

well this is off topic a bit, but this might all be a moot point. We are  
putting nginx in front of apache for drupal implementation.  
One requirement is SSO via apache auth\_ntlm\_windbind, for ntlm against  
AD. Nginx does not support keepalive as apache does? So it will not be  
able to utlize NTLM?

Posted at Nginx Forum:

> **[Re: cant find openssl](https://forum.nginx.org/read.php?2,183476,183507#msg-183507)**
>
> OS:redhat 5.6 nginx version=nginx-0.8.54 getting following error checking for OpenSSL library ... not found ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL
