Rolando Berrios <rolando@stripped> wrote:
> ./configure --enable-module=most --enable-shared=max
> --add-module=src/modules/auth_mysql/mod_auth_mysql.c
> --enable-shared=auth_mysql
>
> I've even tried to modify the Configuration files in apache_1.3.X/src/ so
> that the extra FLAGS are included, but the CFLAG in Configuration.apaci
> gets overwritten and when I look at the FLAG src which is $(SRCDIR)/apaci,
> I don't find anything that looks like the CFLAG I've modified. I'm not
> sure if I even need to be doing this.
>
> When I try to execute httpd, this is my result when I try to use
> mod_auth_mysql:
>
> [root@example apache_1.3.3]# /usr/local/apache/sbin/httpd start
> Syntax error on line 56 of /usr/local/apache/etc/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_auth_mysql.so into server:
> /usr/local/apache/libexec/mod_auth_mysql.so: undefined symbol:
> mysql_store_result
I'm not familiar with building Apache with loadable modules but maybe building
it with the mod_auth_mysql compiled in statically might help you as well.
This would be done with:
./configure ... --activate-module=src/modules/auth_mysql/libauth_mysql.a
At least this --activate-module is what I use. :-)
Harry
===================================================================
PGP fingerprint: B9 EE 83 0C 1F 48 54 50 9F A7 7A 00 6C 94 36 02
PGP public key available by fingering harry@stripped