Welcome! Log In Create A New Profile

Advanced

Re: nginx 0.8.53 geoip compilation issue

November 27, 2010 04:02AM
On Fri, Nov 26, 2010 at 03:08:18PM -0500, st1905 wrote:

> After upgrading to the latest C api from maxmind, following is
> happening
>
> [code]
> src/os/unix/ngx_process.c:490: warning: `sys_errlist' is deprecated; use
> `strerror' or `strerror_r' instead
> src/os/unix/ngx_process.c:490: warning: `sys_nerr' is deprecated; use
> `strerror' or `strerror_r' instead

http://nginx.org/en/docs/sys_errlist.html
This issue will be fixed in upcoming 0.9.0.

> objs/src/http/modules/ngx_http_geoip_module.o: In function
> `ngx_http_geoip_region_name_variable':
> src/http/modules/ngx_http_geoip_module.c:275: undefined reference to
> `GeoIP_region_name_by_code'
> [/code]

Strange, I've just upgraded GeoIP to 1.4.6 from 1.4.4 on my FreeBSD host:

>pkg_info | grep GeoIP
GeoIP-1.4.6 Find the country that any IP address or hostname originates

And nginx have been built without issues. Besides, there is
GeoIP_region_name_by_code() function in lib GeoIP library:

>strings /usr/local/lib/libGeoIP.so | grep GeoIP_region_name_by_code
GeoIP_region_name_by_code


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx 0.8.53 geoip compilation issue

st1905 November 26, 2010 02:31PM

Re: nginx 0.8.53 geoip compilation issue

st1905 November 26, 2010 03:08PM

Re: nginx 0.8.53 geoip compilation issue

Igor Sysoev November 27, 2010 04:02AM

Re: nginx 0.8.53 geoip compilation issue

st1905 November 27, 2010 06:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready