Build Apache module in C
I've a problem in building a Apache c module. For compiling the module, i
use the statement: sudo apxs2 -I/usr/include/mysql -i -a -c mod_aledav.c
and the module seems to be compiled correctly,but when i try to restart
Apache, the output is:
apache2: Syntax error on line 239 of /etc/apache2/apache2.conf: Syntax
error on line 1 of /etc/apache2/mods-enabled/aledav.load: Cannot load
/usr/lib/apache2/modules/mod_aledav.so into server:
/usr/lib/apache2/modules/mod_aledav.so: undefined symbol: mysql_errno
Action 'configtest' failed. The Apache error log may have more
information. ...fail! Can you help me? Thanks Alessandro
No comments:
Post a Comment