Hi! I used mod-auth-mysql to authenticate a website against a userdatabase in MySQL. After emerging the package and adding the AUTH_MYSQL define to apache, apache refused to start up, complaining about an invalid LoadModule statement: apache2: Syntax error on line 152 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/modules.d/12_mod_auth_mysql.conf: Can't locate API module structure `apache2_mysql_auth_module' in file /usr/lib64/apache2/modules/apache2_mod_auth_mysql.so: /usr/lib64/apache2/modules/apache2_mod_auth_mysql.so: undefined symbol: apache2_mysql_auth_module I checked out the source and discovered that de LoadModule statement was wrong. In the installed file (/etc/apache2/modules.d/12_mod_auth_mysql.conf) it reads: LoadModule apache2_mysql_auth_module modules/apache2_mod_auth_mysql.so However, it SHOULD read: LoadModule auth_mysql_module modules/apache2_mod_auth_mysql.so The mod-auth-mysql loads and functions properly after applying this change. Please modify the file /usr/portage/www-apache/mod-auth-mysql/files/12_mod_auth_mysql.conf in the ebuild accordingly. Regards, Toon. Reproducible: Always Steps to Reproduce: 1. emerge mod-auth-mysql 2. add define AUTH_MYSQL in /etc/conf.d/apache2 3. restart apache Actual Results: Load of the module mod-auth-mysql fails. (see descryption) Expected Results: Load of the module mod-auth-mysql succeeds. See descryption.
I can confirm both bug and solution (thanks)
*mod-auth-mysql-4.3.9-r1 (25 May 2014) 25 May 2014; Brian Evans <grknight@gentoo.org> +mod-auth-mysql-4.3.9-r1.ebuild, -mod-auth-mysql-4.3.9.ebuild, files/12_mod_auth_mysql.conf: Revision bump for bug 371369, increase to EAPI-5 and add epatch_user