[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] mod_auth_mysql as DSO



Hi folks:

I'm having trouble compiling mod_auth_mysql-2.20 as a DSO using
the /usr/sbin/apxs tool on a RaQ3i. Here is a brief summary of
what I have tried and the error that is being returned.

The RaQ3i is just out-of-the-box and the only other things I have
installed is:
   MySQL-client-3.22.30-1.i386.rpm
   MySQL-devel-3.22.30-1.i386.rpm
I am using the version of Apache 1.3.6 that Cobalt supplied
with this machine.

The error I get at run-time is:

Syntax error on line 34 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/lib/apache/mod_auth_mysql.so into server:
/etc/httpd/lib/apache/mod_auth_mysql.so: undefined symbol: __ucmpdi2

Basically, I followed these steps to compile it.

# ./configure --with-mysql=/usr --with-apxs=/usr/sbin
# apxs -c mod_auth_mysql.c (which outputs the following)

cc -O2 -m486 -fno-strength-reduce -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_SSL=20
2108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/include/mysql -
I/usr/local/include -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -fpic -DSHAR
ED_MODULE -I/usr/include/apache  -c mod_auth_mysql.c
ld -Bshareable -o mod_auth_mysql.so mod_auth_mysql.o

# /usr/sbin/apxs -i -a -n auth_mysql mod_auth_mysql.so
# cp mod_auth_mysql.so /usr/lib/apache/mod_auth_mysql.so

I then added the necessary lines to the httpd.conf file and
restarted the server, but I always get the error above.

Has anyone else had similar problems? Anyone had any success?
I would really like to get this module working with my httpd
(without recompiling httpd if possible). Any help or pointers
would be appreciated.

- Ben Rothe
ben@xxxxxxxxxxxxxxx