Ошибка компиляции с модулем кеширования

Igor Sysoev is at rambler-co.ru
Thu May 21 09:44:17 MSD 2009


On Wed, May 20, 2009 at 11:10:57PM +0200, Alrond wrote:

> Если добавить опцию --with-cc-opt='-I /opt/openssl-0.9.8k/include/' то
> ошибка трансформируется в
> 
>         objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
>         objs/src/http/modules/ngx_http_stub_status_module.o \
>         objs/ngx_modules.o \
>         -lcrypt /opt/pcre-7.9/.libs/libpcre.a -lz
> objs/src/http/ngx_http_file_cache.o: In function
> `ngx_http_file_cache_create_key':
> /opt/nginx-0.7.58/src/http/ngx_http_file_cache.c:128: undefined reference to
> `MD5_Init'
> /opt/nginx-0.7.58/src/http/ngx_http_file_cache.c:138: undefined reference to
> `MD5_Update'
> /opt/nginx-0.7.58/src/http/ngx_http_file_cache.c:145: undefined reference to
> `MD5_Final'
> collect2: ld returned 1 exit status

Нужно взять http://sysoev.ru/nginx/libmd5-0.8.2b.tar.gz
и использовать его в --with-md5=/opt/libmd5-0.8.2b
Всё, касаемо openssl, нужно убрать.


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list