NGINX 1.0.3 compile error: undefined reference to `ngx_libc_crypt'
Wendal Chen
wendal1985 at gmail.com
Thu May 26 06:13:36 MSD 2011
remove : --without-http_auth_basic_module
It will be ok.
I think it is a Bug!!
2011/5/26 wyatt <nginx-forum at nginx.us>
> 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:
> http://forum.nginx.org/read.php?2,200948,200948#msg-200948
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
--
Wendal Chen
<http://t.sina.com.cn/1068040557?s=6uyXnP>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110526/01a08b0f/attachment.html>
More information about the nginx
mailing list