[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Mod_Auth_Mysql Installation
- Subject: [cobalt-developers] Mod_Auth_Mysql Installation
- From: "Trevor Ryan" <webmaster@xxxxxxxx>
- Date: Wed Aug 1 09:00:32 2001
- Organization: eircom Ennis Information Age Town
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I've been trying to get further
than the mails below for an installation of mod_auth_mysql on a Raq3i with
Apache 1.3.6 (still the original Raq3i version), but I keep running up
against the same problem, the ucmpdi2 problem. Now I have found a thread on
the lists that brings me a bit further where the ucmpdi2 is covered but it
needs a file called quad.h which is a math emu library, i think. Have you
sucessfully installed mod_auth_mysql at all and if so, how? Or could you
throw some light on this. If you could I would be eternally grateful as we
desperately need mod_auth_mysql for an important client.
Many thanks,
Trevor Ryan
Webmaster - Ennis Information Age Town
________________________________
webmaster@xxxxxxxx
http://www.ennis.ie
>
> ----- Original Message -----
> From: "Ben Rothe" <ben@xxxxxxxxxxxxxxx>
> To: <mlampkin@xxxxxxxxxx>; <cobalt-developers@xxxxxxxxxxxxxxx>
> Sent: Saturday, February 19, 2000 12:45 AM
> Subject: [cobalt-developers] Re: mod_auth_mysql as DSO
>
>
> > Thanks for the quick reply. I've tried your tip and I still get
> > the same error when I try to start the httpd daemon:
> >
> > undefined symbol: __ucmpdi2
> >
> > Thought I'd see you if have any other ideas?
> >
> > Thanks again for your help.
> >
> > - Ben Rothe
> > ben@xxxxxxxxxxxxxxx
> >
> >
> >
> > Michael Lampkin <mlampkin@xxxxxxxxxx> wrote:
> >
> > > Should be a simple fix. Apxs doesn't append a leading / onto
> > > the path names of module locations when it writes the LoadModule
> > > abc/def/etc line so apache takes it onto itself to append what
> > > it thinks the root path is when it attempts to load them.
> > >
> > > Unfortunately, it is wrong. In fact, this error occurs with all
> > > DSO modules made with apxs. Ah well, I still like the apxs
> > > functionality.
> > >
> > > Just edit httpd.conf and try changing line 34 so that the path
> > > reads /usr/lib/apache/mod_auth_mysql.so and the problem should
> > > disappear when you restart your server. If not, let me know.
> > >
> > > Hope this helps -
> > >
> > > Michael Lampkin
> > > Business Dev. Engr
> > > Cobalt Networks, Inc.
> > >
> > >
> > >
> > > Ben Rothe wrote:
> > >>
> > >> 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
> > >
> >
> >
> >
> > _______________________________________________
> > cobalt-developers mailing list
> > cobalt-developers@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-developers
> >
>
>