Lax / traffic-accounting-nginx-module

Monitor the incoming and outgoing traffic metrics in realtime for NGINX
https://github.com/Lax/traffic-accounting-nginx-module
BSD 2-Clause "Simplified" License
280 stars 77 forks source link

add-dynamic-module have error #32

Closed hezhaoye closed 5 years ago

hezhaoye commented 6 years ago

I configure: ./configure --prefix=/data/services/nginx2 --add-dynamic-module=/home/test/traffic-accounting-nginx-module-1.3 it will build the ngx_http_accounting_module.so ,when I copy the so file to other computer,it have an error occurred: Reloading nginx configuration: nginx: [emerg] module "/data/services/nginx-1.10.2.3/modules/ngx_http_accounting_module.so" is not binary compatible in /data/services/nginx-1.10.2.3/conf/nginx.conf:18 nginx: configuration file /data/services/nginx-1.10.2.3/conf/nginx.conf test failed,is it a bug?

Lax commented 6 years ago

please provide more information:

  1. nginx version
  2. configure options
  3. output of nginx -V