[Lazarus] fpweb basic Apache module on Ubuntu not working

ABorka fpc-devel at aborka.com
Sun Sep 21 21:29:27 CEST 2008


Compiling the mod_hello.pp (to make mod_hello.so) from 
fpc/packages/httpd22/examples gives the same error even when all steps 
are done on the wiki page (project options, paths, etc.).
Ubuntu 8.04 with Apache2.2, latest fpc/lazarus svn trunk

apache2: Syntax error on line 16 of /etc/apache2/apache2.conf: Can't 
locate API module structure `test_module' in file 
/usr/lib/apache2/modules/mod_hello.so: 
/usr/lib/apache2/modules/mod_hello.so: undefined symbol: test_module



Felipe Monteiro de Carvalho wrote:
> Try this example:
> 
> http://wiki.lazarus.freepascal.org/FPC_and_Apache_Modules#Hello_World_Module
> 




More information about the Lazarus mailing list