Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3012605
  • 博文数量: 535
  • 博客积分: 15788
  • 博客等级: 上将
  • 技术积分: 6507
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-07 09:11
文章分类

全部博文(535)

文章存档

2016年(1)

2015年(1)

2014年(10)

2013年(26)

2012年(43)

2011年(86)

2010年(76)

2009年(136)

2008年(97)

2007年(59)

分类: LINUX

2012-06-15 15:55:29

objs/src/core/ngx_regex.o: In function `ngx_pcre_free_studies':
/opt/nginx-1.2.1/src/core/ngx_regex.c:307: undefined reference to `pcre_free_study'

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


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

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
flags.

, see for more information.

  1. ./configure \
  2. --prefix=/usr/local/nginx \
  3. --with-http_stub_status_module \
  4. --without-poll_module \
  5. --without-select_module \
  6. --with-http_ssl_module \
  7. --with-http_realip_module \
  8. --with-http_perl_module \
  9. --with-pcre=../pcre-8.30 \
  10. --with-pcre-jit && \
  11. make && make install

阅读(7607) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

split_two2012-10-15 09:24:17

您好!我问一下我的nginx编译出错,错误大致和您一样,您咋解决的?