NGINX 1.0.3 compile error: undefined reference to `ngx_libc_crypt'

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 tongx_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

remove : --without-http_auth_basic_module

It will be ok.

I think it is a Bug!!

2011/5/26 wyatt [email protected]

Thanks, that worked.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,200948,201006#msg-201006

On Wed, May 25, 2011 at 08:39:15PM -0400, wyatt wrote:

–without-http_ssi_module --without-http_auth_basic_module
Then I ran “make”
objs/src/core/ngx_crypt.o: In function `ngx_crypt’:
Am I doing something wrong, or is the problem somewhere in the
./configure or make scripts?

The attached patch fixes the issue.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs