Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the mod for nginx ? #132

Closed
higkoo opened this issue Jul 23, 2013 · 7 comments
Closed

Where is the mod for nginx ? #132

higkoo opened this issue Jul 23, 2013 · 7 comments

Comments

@higkoo
Copy link

higkoo commented Jul 23, 2013

I cann't find the mod for nginx , where's it?

@higkoo
Copy link
Author

higkoo commented Jul 23, 2013

I get the master and then
| ./autogen.sh
| ./configure -q --prefix=/usr --disable-apache2-module --enable-standalone-module --without-apr
But I still got error msg ,
| configure: error: couldn't find APXS

@higkoo
Copy link
Author

higkoo commented Jul 23, 2013

when I install httpd-devel apr-devel apr-utils-devel , I got
| configure: error: apr library is required

@higkoo
Copy link
Author

higkoo commented Jul 23, 2013

./configure --prefix=/usr --disable-apache2-module --enable-standalone-module --with-apr=/usr/bin/apr-1-config --without-curl

I config success , but make error

mv -f .deps/mlogc-mlogc.Tpo .deps/mlogc-mlogc.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/apr-1 -g -O2 -lpthread -o mlogc mlogc-mlogc.o /usr/lib64/libapr-1.la -lpcre
libtool: link: gcc -I/usr/include/apr-1 -g -O2 -o mlogc mlogc-mlogc.o /usr/lib64/libapr-1.so -lpthread -lpcre -pthread
mlogc-mlogc.o: In function thread_worker': /tmp/ModSecurity-master/mlogc/mlogc.c:1706: undefined reference tocurl_slist_free_all'
/tmp/ModSecurity-master/mlogc/mlogc.c:1538: undefined reference to curl_easy_setopt' /tmp/ModSecurity-master/mlogc/mlogc.c:1539: undefined reference tocurl_easy_setopt'
/tmp/ModSecurity-master/mlogc/mlogc.c:1541: undefined reference to curl_easy_setopt' /tmp/ModSecurity-master/mlogc/mlogc.c:1542: undefined reference tocurl_easy_setopt'
/tmp/ModSecurity-master/mlogc/mlogc.c:1543: undefined reference to curl_easy_setopt' mlogc-mlogc.o:/tmp/ModSecurity-master/mlogc/mlogc.c:1544: more undefined references tocurl_easy_setopt' follow
mlogc-mlogc.o: In function thread_worker': /tmp/ModSecurity-master/mlogc/mlogc.c:1546: undefined reference tocurl_slist_append'
/tmp/ModSecurity-master/mlogc/mlogc.c:1547: undefined reference to curl_slist_append' /tmp/ModSecurity-master/mlogc/mlogc.c:1548: undefined reference tocurl_slist_append'
/tmp/ModSecurity-master/mlogc/mlogc.c:1549: undefined reference to curl_easy_setopt' /tmp/ModSecurity-master/mlogc/mlogc.c:1561: undefined reference tocurl_easy_setopt'
/tmp/ModSecurity-master/mlogc/mlogc.c:1562: undefined reference to curl_easy_setopt' /tmp/ModSecurity-master/mlogc/mlogc.c:1569: undefined reference tocurl_easy_perform'
/tmp/ModSecurity-master/mlogc/mlogc.c:1576: undefined reference to curl_easy_getinfo' /tmp/ModSecurity-master/mlogc/mlogc.c:1620: undefined reference tocurl_easy_getinfo'
/tmp/ModSecurity-master/mlogc/mlogc.c:1622: undefined reference to curl_easy_getinfo' mlogc-mlogc.o: In functionlogc_init':
/tmp/ModSecurity-master/mlogc/mlogc.c:1212: undefined reference to curl_easy_init' /tmp/ModSecurity-master/mlogc/mlogc.c:1215: undefined reference tocurl_easy_setopt'
/tmp/ModSecurity-master/mlogc/mlogc.c:1216: undefined reference to curl_easy_setopt' /tmp/ModSecurity-master/mlogc/mlogc.c:1217: undefined reference tocurl_easy_setopt'
/tmp/ModSecurity-master/mlogc/mlogc.c:1218: undefined reference to curl_easy_setopt' /tmp/ModSecurity-master/mlogc/mlogc.c:1219: undefined reference tocurl_easy_setopt'
mlogc-mlogc.o:/tmp/ModSecurity-master/mlogc/mlogc.c:1220: more undefined references to curl_easy_setopt' follow mlogc-mlogc.o: In functionmain':
/tmp/ModSecurity-master/mlogc/mlogc.c:2237: undefined reference to curl_global_init' mlogc-mlogc.o: In functionversion':
/tmp/ModSecurity-master/mlogc/mlogc.c:2221: undefined reference to curl_version' mlogc-mlogc.o: In functionlogc_cleanup':
/tmp/ModSecurity-master/mlogc/mlogc.c:958: undefined reference to curl_global_cleanup' collect2: ld returned 1 exit status make[1]: *** [mlogc] Error 1 make[1]: Leaving directory/tmp/ModSecurity-master/mlogc'
make: *** [all-recursive] Error 1

@higkoo
Copy link
Author

higkoo commented Jul 23, 2013

CentOS release 6.4 (Final)
Linux 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@chaizhenhua
Copy link
Contributor

@higkoo

I cann't find the mod for nginx , where's it?

can you check this https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#wiki-Installation_for_NGINX?

@higkoo
Copy link
Author

higkoo commented Jul 23, 2013

Yes , Just do as this document .

@brenosilva
Copy link
Contributor

Please send questions about it to mod_security user mail-list. There are more people to help you.
We are using this channel to report bugs, new features etc.

This looks like not a bug. We can reopen this if we find a bug. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants