{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/15","repository_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx","labels_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/15/comments","events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/15/events","html_url":"https://github.com/SpiderLabs/ModSecurity-nginx/issues/15","id":176984482,"number":15,"title":" ngx_http_modsecurity_module requires the ModSecurity library","user":{"login":"olekstumedia","id":20915505,"avatar_url":"https://avatars.githubusercontent.com/u/20915505?v=3","gravatar_id":"","url":"https://api.github.com/users/olekstumedia","html_url":"https://github.com/olekstumedia","followers_url":"https://api.github.com/users/olekstumedia/followers","following_url":"https://api.github.com/users/olekstumedia/following{/other_user}","gists_url":"https://api.github.com/users/olekstumedia/gists{/gist_id}","starred_url":"https://api.github.com/users/olekstumedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olekstumedia/subscriptions","organizations_url":"https://api.github.com/users/olekstumedia/orgs","repos_url":"https://api.github.com/users/olekstumedia/repos","events_url":"https://api.github.com/users/olekstumedia/events{/privacy}","received_events_url":"https://api.github.com/users/olekstumedia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-14T18:31:14Z","updated_at":"2016-09-14T18:36:17Z","closed_at":null,"body":"I am trying to build custom deb package with modsecurity and pagespeed but getting this error\r\n\r\n```\r\nhecking for sysconf(_SC_NPROCESSORS_ONLN) ... found\r\nchecking for openat(), fstatat() ... found\r\nchecking for getaddrinfo() ... found\r\nconfiguring additional modules\r\nadding module in /root/rebuildnginx/modsecurity\r\nchecking for ModSecurity library ... not found\r\nchecking for ModSecurity library in /usr/local/modsecurity ... not found\r\n ./configure: error: ngx_http_modsecurity_module requires the ModSecurity library.\r\ndebian/rules:86: recipe for target 'configure_debug' failed\r\nmake[1]: *** [configure_debug] Error 1\r\nmake[1]: Leaving directory '/root/rebuildnginx/nginx-1.11.4'\r\ndebian/rules:64: recipe for target 'build' failed\r\nmake: *** [build] Error 2\r\ndpkg-buildpackage: error: debian/rules build gave error exit status 2\r\n```\r\n\r\nFollowing this tutorial but with latest nginx and pagespeed modules versions\r\n\r\nhttps://serversforhackers.com/compiling-third-party-modules-into-nginx\r\n\r\nroot@host:~/rebuildnginx# ll\r\ntotal 1084\r\ndrwxr-xr-x  5 root root   4096 Sep 14 14:20 ./\r\ndrwx------ 13 root root   4096 Sep 14 14:21 ../\r\ndrwxr-xr-x  4 root root   4096 Aug 22 16:20 modsecurity/\r\ndrwxr-xr-x 11 root root   4096 Sep 14 14:22 nginx-1.11.4/\r\n-rw-r--r--  1 root root 133672 Sep 13 12:47 nginx_1.11.4-1~xenial.debian.tar.xz\r\n-rw-r--r--  1 root root   1843 Sep 13 12:47 nginx_1.11.4-1~xenial.dsc\r\n-rw-r--r--  1 root root 949793 Sep 13 12:46 nginx_1.11.4.orig.tar.gz\r\ndrwxr-xr-x  6 root root   4096 Sep 14 14:19 pagespeed/\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/comments/247112365","html_url":"https://github.com/SpiderLabs/ModSecurity-nginx/issues/15#issuecomment-247112365","issue_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/15","id":247112365,"user":{"login":"olekstumedia","id":20915505,"avatar_url":"https://avatars.githubusercontent.com/u/20915505?v=3","gravatar_id":"","url":"https://api.github.com/users/olekstumedia","html_url":"https://github.com/olekstumedia","followers_url":"https://api.github.com/users/olekstumedia/followers","following_url":"https://api.github.com/users/olekstumedia/following{/other_user}","gists_url":"https://api.github.com/users/olekstumedia/gists{/gist_id}","starred_url":"https://api.github.com/users/olekstumedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olekstumedia/subscriptions","organizations_url":"https://api.github.com/users/olekstumedia/orgs","repos_url":"https://api.github.com/users/olekstumedia/repos","events_url":"https://api.github.com/users/olekstumedia/events{/privacy}","received_events_url":"https://api.github.com/users/olekstumedia/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T18:36:17Z","updated_at":"2016-09-14T18:36:17Z","body":"Looks like I need to install modcesuriy library into /usr/local/modsecurity"}}
{"actor":{"display_login":"olekstumedia"}}