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

Alrond rusnginx at gmail.com
Thu May 21 01:10:57 MSD 2009


Если добавить опцию --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
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/opt/nginx-0.7.58'
make: *** [build] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090520/84197dc5/attachment.html>


More information about the nginx-ru mailing list