[pubcookie-users] loading apache module - mod_pubcookie.so

Bradford L. Barrett barrettb at ufl.edu
Thu Feb 6 14:20:57 PST 2003


Correction (sorry).. the gcc command to find the location of it's library
is 'gcc -print-libgcc-file-name'  (not "*-filename" as below)..

:)


--
Bradford L. Barrett                           brad at mrunix.net
University of Florida                         barrettb at ufl.edu
Northeast Regional Data Center                DoD#1750  KD4NAW

The only thing Micro$oft has done for society, is make people
believe that computers are inherently unreliable.

--
On Thu, 6 Feb 2003, Bradford L. Barrett wrote:

>
> I had a similar problem, although it manifested itself at link time, not
> runtime, on our AIX box.  The solution was to link against libgcc as well
> as the other various libraries.  I actually just modified the configure
> script to check if gcc was the compiler and automatically add the -lgcc
> if it was since it doesn't hurt anything otherwise. The actual
> modification to configure.ac was to add the following after
> the AC_PROG_CC check:
>
> if test "$GCC" = "yes"; then
>    GCC_LIB=`gcc -print-libgcc-filename`
>    LIBS="$LIBS -lgcc"; LDFLAGS="$LDFLAGS -L`dirname $GCC_LIB`"
> fi
>
>
> Which then would detect the gcc compiler and add the appropriate
> flags.. what platform are you running this on?
>
>
> --
> Bradford L. Barrett                           brad at mrunix.net
> University of Florida                         barrettb at ufl.edu
> Northeast Regional Data Center                DoD#1750  KD4NAW
>
> The only thing Micro$oft has done for society, is make people
> believe that computers are inherently unreliable.
> ----------------------------------------------------------------
> On Thu, 6 Feb 2003, Breeze P. Howard wrote:
>
> > Larry,
> >
> > Thanks for your help.
> > I am pretty sure they are all being compiled with the same compiler.
> > They were all compiled on the same machine, and the only compiler on that
> > machine is gcc.
> >    gcc version 2.95.3 20010315 (release)
> > cc isn't installed.
> >
> > Any other possibilities?
> >
> > Thanks,
> > Breeze
> >
> > On Mon, 3 Feb 2003, Lawrence Greenfield wrote:
> >
> > >    Date: Mon, 3 Feb 2003 15:21:17 -0500 (EST)
> > >    From: "Breeze P. Howard" <bhoward at acns.fsu.edu>
> > > [...]
> > >    wireless# ./apachectl startssl
> > >    Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
> > >    Cannot load /usr/local/apache/libexec/mod_pubcookie.so into server:
> > >    ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
> > >    /usr/local/apache/libexec/mod_pubcookie.so: symbol __eprintf: referenced
> > >    symbol not found
> > >    ./apachectl startssl: httpd could not be started
> > >
> > > These sort of errors frequently are caused by one part of the program
> > > being compiled with gcc and a different part being compiled with a
> > > different version or with cc.
> > >
> > > I would recommend making sure everything is being compiled by the same
> > > compiler.
> > >
> > > Larry
> > >
> > _______________________________________________
> > pubcookie-users mailing list
> > pubcookie-users at u.washington.edu
> > http://mailman.u.washington.edu/mailman/listinfo/pubcookie-users
> >
> --
> Bradford L. Barrett                           brad at mrunix.net
> University of Florida                         barrettb at ufl.edu
> Northeast Regional Data Center                DoD#1750  KD4NAW
>
> The only thing Micro$oft has done for society, is make people
> believe that computers are inherently unreliable.
>
> _______________________________________________
> pubcookie-users mailing list
> pubcookie-users at u.washington.edu
> http://mailman.u.washington.edu/mailman/listinfo/pubcookie-users
>



More information about the pubcookie-users mailing list