Compiling modsecurity with yajl

Germán Chialli <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <CADJoUFM4GUgK0WZWn0qxsSA-qmAcHGJfov4g+WeW6Vjv2M5frw@mail.gmail.com>
Hi all,

I'm trying to get the JSON parser to work with modsecurity 2.9.2 with
Apache HTTPD. I have followed instructions from this link:
https://gist.github.com/rpfilomeno/1140359f4bd360137a98#file-modsecurity-installation-owasp-crs-for-centos-6-5-L22

I can see that yajl is found when I run the configure script. I see the
following in the config.log:
$ cat config.log | grep yajl
  $ ./configure --with-yajl=/usr/local/lib /usr/local
configure:15950: checking for libyajl config script
configure:16071: using yajl v2.1.1
YAJL_CFLAGS='-DWITH_YAJL -I/usr/local/include/yajl  '
YAJL_LDADD='-lyajl  '
YAJL_LIBS='-lyajl  '

However after restarting apache, I still see the JSON support nor enabled
error. Also, ldd mod_security2.so doesn't show yajl.

What am I missing?

Thanks in advance,
Germán

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.