[nginx] svn commit: r4424 - trunk/src/core

Valentin V. Bartenev ne at vbart.ru
Wed Feb 22 18:03:54 UTC 2012

On Wednesday 22 February 2012 20:44:09 rickytato rickytato wrote:
> I'm trying to compile Nginx with pcre jit support but I've an error:
> objs/src/core/ngx_regex.o: In function `ngx_pcre_free_studies':
> /usr/local/src/nginx-1.1.15/src/core/ngx_regex.c:307: undefined
> reference to `pcre_free_study'
> collect2: ld returned 1 exit status
> make[1]: *** [objs/nginx] Error 1
> I'v compiled pcre-8.21 with: ./configure --prefix=/usr/local/
> --enable-jit --enable-utf8 --enable-unicode-properties
> but nginx won't compile.

Probably, you have the same problem as mentioned in this ticket:

If so, the solution is in the last comment by Maxim Dounin:

Also, it's possible to compile nginx with pcre from source by using
the "--with-pcre=/path/to/pcre/source" and "--with-pcre-jit" configure

, see http://nginx.org/en/docs/install.html for more information.

 wbr, Valentin V. Bartenev

More information about the nginx-devel mailing list