Hey Guys,
I’ve found a compile error for NGINX 1.0.3 that didn’t exist for any of
the previous versions (same configuration, etc.) Here’s the
“./configure” arguments I used:
./configure --sbin-path=/usr/local/sbin --with-http_ssl_module
–with-ipv6 --without-mail_pop3_module --without-mail_imap_module
–without-mail_smtp_module --without-http_autoindex_module
–without-http_ssi_module --without-http_auth_basic_module
–without-http_browser_module --without-http_empty_gif_module
–without-http_geo_module --without-http_limit_req_module
–without-http_limit_zone_module --without-http_map_module
–without-http_memcached_module --without-http_proxy_module
–without-http_referer_module --without-http_scgi_module
–without-http_split_clients_module
–without-http_upstream_ip_hash_module --without-http_userid_module
–without-http_uwsgi_module --with-cc-opt=-O2
Then I ran “make”
After a little while, this is the ouput:
gcc -o objs/nginx
objs/src/core/nginx.o
[…]
objs/ngx_modules.o
-lpcre -lssl -lcrypto -ldl -lz
objs/src/core/ngx_crypt.o: In function ngx_crypt': /home/wyatt/sources/nginx-1.0.3/src/core/ngx_crypt.c:48: undefined reference to
ngx_libc_crypt’
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/home/wyatt/sources/nginx-1.0.3’
make: *** [build] Error 2
Am I doing something wrong, or is the problem somewhere in the
./configure or make scripts?
Posted at Nginx Forum: