Got the following error:
usr/sbin/httpd:/usr/lib/apache/modules/mod_auth_mysql.so: undefined symbol 'mysql_connect'
Fixed by changing:
FROM:
mysql_auth = mysql_connect(&auth_sql_server, auth_db_host, user, pwd);
TO:
mysql_auth = mysql_real_connect(&auth_sql_server, auth_db_host, user,
pwd, name, 3306, NULL, 0);
in line 393.