mod_auth_mysql Fun
Spent all morning fighting with mod_auth_mysql
At some point the mysql_connect call was removed from the mysql client libraries and replaced with mysql_real_connect. The version of mod_auth_mysql that I had didn’t apparently didn’t receive that email.
- Download new version from SourceForge
- Compile
- Install
- httpd configtest
Can’t locate API module structure `auth_mysql_module’ in file /usr/local/libexec/apache/mod_auth_mysql.so: Undefined symbol “auth_mysql_module”
Huh ?
The old module used “auth_mysql_module” in the LoadModule line and the new one does not.
So change the line:
LoadModule auth_module libexec/mod_auth_mysql.so
LoadModule mysql_auth_module libexec/mod_auth_mysql.so
Marc:
Oh man, many thanks. It’s been near 5 yers since your post, but still works for me (I’ve just download the 3.0 version of auth_mysql) and installed it on Ubuntu LTS
12 February 2008, 8:57 am