Compliation issue <Unable to find libevent>

434 views
Skip to first unread message

Vivek

unread,
Dec 20, 2012, 10:06:59 AM12/20/12
to gea...@googlegroups.com
| #include <sys/types.h>
| #include <sys/time.h>
| #include <stdlib.h>
| #include <event.h>
|
| int
| main ()
| {
|
|                struct event_base *tmp_event= event_init();
|                event_base_free(tmp_event);
|
|   ;
|   return 0;
| }
configure:22667: result: no
configure:22694: error: Unable to find libevent
What is the issue here ?
Version:
gearmand-1.1.4

Vivek

unread,
Dec 20, 2012, 2:41:15 PM12/20/12
to gea...@googlegroups.com
I was having libevent in custom path. It worked after doing export for LD_LIBRARY_PATH. 

Rohan Thakur

unread,
Feb 13, 2013, 5:19:16 AM2/13/13
to gea...@googlegroups.com
hi vivek

I am having same error of unable to find libevent while running ./configure for gearman 1.5.1 I have placed the libevent2.0.21 folder after extraction in cygwin/home/usr folder where my gearman and boost root folder resides...and I am running ./configure from gearman folder.....how did you resolved this problem??
Reply all
Reply to author
Forward
0 new messages