I hope that someone can help with this.  I am trying to install 
mod_auth_mysql as a DSO, but I get errors.

Here are the errors when compiling mod_auth_mysql:
/usr/local/src/mod_auth_mysql-2.20# cp config.h auth_mysql_config.h
/usr/local/src/mod_auth_mysql-2.20# /usr/sbin/apxs  -i -a 
-I/usr/include/mysql -L/usr/lib/mysql \
? -lmysqlclient -c mod_auth_mysql.c
gcc -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic 
-DSHARED_MODULE -I/usr/include/apache -I/usr/include/mysql  -c mod_auth_mysql.c
mod_auth_mysql.c: In function `my_set_string_slot':
mod_auth_mysql.c:203: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c: In function `safe_mysql_query':
mod_auth_mysql.c:405: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c:417: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c:419: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c: In function `mysql_check_group':
mod_auth_mysql.c:526: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c: In function `mysql_check_auth':
mod_auth_mysql.c:589: warning: initialization makes pointer from integer 
without a cast
mod_auth_mysql.c:613: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c:619: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c:631: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c:633: warning: assignment makes pointer from integer 
without a cast
mod_auth_mysql.c:635: warning: assignment makes pointer from integer 
without a cast
gcc -shared -o mod_auth_mysql.so mod_auth_mysql.o -L/usr/lib/mysql 
-lmysqlclient
cp mod_auth_mysql.so /usr/lib/apache/mod_auth_mysql.so
chmod 755 /usr/lib/apache/mod_auth_mysql.so
[activating module `auth_mysql' in /etc/httpd/conf/httpd.conf]

Here are the errors I get when trying to restart Apache:
Cannot load /usr/lib/apache/mod_auth_mysql.so into server: 
/usr/lib/apache/mod_auth_mysql.so: undefined symbol: register_cleanup


Thank You
Steve


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to