You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks that libhtp and ironbee should be compiled with the lib iconv
(adding -liconv to the LIBS var at the Makefile fixed the issue).
Also it's needed to specify the path of pcre (macports ports use to set the lib/include path
to /opt/local, instead of /usr or /usr/local as linux).
So after compiling, I configured apache and I got this errors at the startup
/opt/local/apache2/bin/apachectl restart
httpd: Syntax error on line 119 of /opt/local/apache2/conf/httpd.conf:
Cannot load /usr/local/lib/libhtp.dylib into server:
dlopen(/usr/local/lib/libhtp.dylib, 10): Symbol not found: _iconv\n Referenced from: /usr/local/lib/libhtp.dylib\n Expected in: flat
namespace\n in /usr/local/lib/libhtp.dylib
I added -liconv to libhtp/htp/Makefile and then executing it again, the same but with ironbee
/opt/local/apache2/bin/apachectl restart
httpd: Syntax error on line 120 of /opt/local/apache2/conf/httpd.conf:
Cannot load /usr/local/ironbee/lib/mod_ironbee.so into server:
dlopen(/usr/local/ironbee/lib/mod_ironbee.so, 10): Symbol not found: _iconv\n Referenced from: /usr/lib/libaprutil-1.0.dylib\n Expected in: /opt/local/lib/libiconv.2.dylib\n in /usr/lib/libaprutil-1.0.dylib
I did the same at ironbee, adding -liconv to the Makefile,
restarted apache and it loaded correctly.
The text was updated successfully, but these errors were encountered:
…ig to master
* commit '4f42724fb1ba35c8fe0d837eb01800a47dc70a1f':
config.lua, configuration_parser.lua: Renaming a variable and a function for consistency.
util.lua: Adding ib_list_ipairs() function.
tc_{config,testing,waggle}.rb: Removing incorrect header use in clipp tests.
lua_apidoc.h: Adding configuration parser and DSL documentation, RNS-1273
config.lua, configuratino_parser.lua: Finish Lua Programatic Configuration DSL, RNS-1273.
ts_lua.rb, tc_{testing,waggle,config}.rb: Refactoring Lua tests as there are enough to warrent multiple files.
lua/ironbee/config.lua, configuration_parser.lua: Implement Lua programatic configuration DLS (mostly), RNS-1273.
util.lua, base_rule.lua: Move is_a() function to utility library.
util.lua: Add ib_list_pairs() to allow iteration over an ib_list_t in Lua style.
Initial refactoring of Lua's IronBee configuration code to support Lua programatic configuration.
It looks that libhtp and ironbee should be compiled with the lib iconv
(adding -liconv to the LIBS var at the Makefile fixed the issue).
Also it's needed to specify the path of pcre (macports ports use to set the lib/include path
to /opt/local, instead of /usr or /usr/local as linux).
So after compiling, I configured apache and I got this errors at the startup
/opt/local/apache2/bin/apachectl restart
httpd: Syntax error on line 119 of /opt/local/apache2/conf/httpd.conf:
Cannot load /usr/local/lib/libhtp.dylib into server:
dlopen(/usr/local/lib/libhtp.dylib, 10): Symbol not found: _iconv\n Referenced from: /usr/local/lib/libhtp.dylib\n Expected in: flat
namespace\n in /usr/local/lib/libhtp.dylib
I added -liconv to libhtp/htp/Makefile and then executing it again, the same but with ironbee
/opt/local/apache2/bin/apachectl restart
httpd: Syntax error on line 120 of /opt/local/apache2/conf/httpd.conf:
Cannot load /usr/local/ironbee/lib/mod_ironbee.so into server:
dlopen(/usr/local/ironbee/lib/mod_ironbee.so, 10): Symbol not found: _iconv\n Referenced from: /usr/lib/libaprutil-1.0.dylib\n Expected in: /opt/local/lib/libiconv.2.dylib\n in /usr/lib/libaprutil-1.0.dylib
I did the same at ironbee, adding -liconv to the Makefile,
restarted apache and it loaded correctly.
The text was updated successfully, but these errors were encountered: