I'm writing an Apache 2.2 module that utilizes the libxml2 API. I've put together the module using following instructions:
apxs -I /usr/include/libxml2/ -c mod_xmltest.c sudo apxs -n xmltest_module -i mod_xmltest.la
and used the next LoadFile directive in httpd.conf
However on beginning the server I get following error:
httpd: Syntax error online 432 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_hoverin.so into server: /usr/local/apache2/modules/mod_hoverin.so: undefined symbol: xmlFreeNode
what is wrong here ?
ok sorry! It had been an exotic question to request!
Just found realize that an order of directives is essential within the configuration file. I had been attempting to load the modules before loading the libraries.
Remedied it, the mistake is finished :)