Wendal Chen
May 25, 2011 10:14PM
remove : --without-http_auth_basic_module

It will be ok.

I think it is a Bug!!


2011/5/26 wyatt <nginx-forum@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



--
Wendal Chen
http://t.sina.com.cn/1068040557?s=6uyXnP
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX 1.0.3 compile error: undefined reference to `ngx_libc_crypt'

wyatt May 25, 2011 08:39PM

Re: NGINX 1.0.3 compile error: undefined reference to `ngx_libc_crypt'

Wendal Chen May 25, 2011 10:14PM

Re: NGINX 1.0.3 compile error: undefined reference to `ngx_libc_crypt'

wyatt May 25, 2011 11:50PM

Re: NGINX 1.0.3 compile error: undefined reference to `ngx_libc_crypt'

Igor Sysoev May 26, 2011 01:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready