mod_auth_mysql

Soapvox

Want some of my Kool-aid?
Has anyone gotten the mod_auth_mysql either source or dso to compile under 10.2? If so can you please help a guy out by explaining anything special you did, I get the following error when I try to run it.
ld: can't locate file for: -lmysqlclient
apxs:Break: Command failed with rc=1
 
I can get mod_auth_mysql to compile, but then apache refused to load it :(

I made the following changes to the makefile:

...
OPTS = -I/usr/include/mysql -L/usr/local/mysql/lib -I/usr/local/mysql/include -lmysqlclient
...

I then ran "make install", however running "apachectl configtest" (and uncommenting LoadModule line in http.conf) produces the following error:

Syntax error on line 241 of /etc/httpd/httpd.conf:
Cannot load /usr/libexec/httpd/mod_auth_mysql.so into server: (reason unknown)

don't spose anyone has got this to work?
 
Back
Top