# How to tell ngnix where is my libevent?

**URL:** <https://www.ruby-forum.com/t/how-to-tell-ngnix-where-is-my-libevent/221938>\
**Category:** NGINX\
**Created:** [August 6, 2012, 6:02am UTC](https://www.ruby-forum.com/t/how-to-tell-ngnix-where-is-my-libevent/221938 "2012-08-06T06:02:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 6, 2012, 6:02am UTC](https://www.ruby-forum.com/t/how-to-tell-ngnix-where-is-my-libevent/221938/1 "2012-08-06T06:02:53Z")

</div>

since i build libevent myself, and install it to my home/install dir,  
i have checked auto/configure --help to find options related to libevent  
dir, but not find it,

i have also tried to tell nginx the path of libevent using  
./auto/configure CFLAGS=“-I/home/bigmeow/install/include”  
./auto/configure: error: invalid option  
“CFLAGS=-I/home/bigmeow/install/include”  
also failed.

so is there any method to tell ngnix where is my libevent?

Posted at Nginx Forum:

> **[how to tell ngnix where is my libevent?](https://forum.nginx.org/read.php?2,229318,229318#msg-229318)**
>
> since i build libevent myself, and install it to my home/install dir, i have checked auto/configure --help to find options related to libevent dir, but not find it, i have also tried to tell nginx the path of libevent using ./auto/configure...

---

<div class="post-metadata">

**Author:** ![bigmeow](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@bigmeow](https://www.ruby-forum.com/u/bigmeow)\
**Post date:** [August 6, 2012, 9:25am UTC](https://www.ruby-forum.com/t/how-to-tell-ngnix-where-is-my-libevent/221938/2 "2012-08-06T09:25:03Z")

</div>

Hello!

On Mon, Aug 06, 2012 at 12:02:05AM -0400, bigmeow wrote:

> so is there any method to tell ngnix where is my libevent?  
> You don’t need libevent for nginx.

And just for record, to pass additional options to compiler and  
linker you may use --with-cc-opt and --with-ld-opt configure  
arguments, see [Installing nginx](http://nginx.org/en/docs/install.html).

Maxim D.
