Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 10:06:08 -0700
From:      "Tim Pushor" <timp@crossthread.com>
To:        <questions@freebsd.org>
Subject:   Fw: Apache DSO problems
Message-ID:  <010001bf4655$96c72020$9828f99f@shl.com>

next in thread | raw e-mail | index | archive | help
Grrrr it was actually a typo in the LoadModule line introduced by
mod_auth_pgsql. I should have looked more closely..

Thanks for the replies..
Tim
----- Original Message -----
From: Tim Pushor <timp@crossthread.com>
To: <questions@freebsd.org>
Sent: Monday, December 13, 1999 3:13 PM
Subject: Apache DSO problems


> Hello,
>
> I have compiled apache to use the DSO loading mechanism for modules and
all
> is working well. I just tried to compile a 3rd party module as a DSO, and
it
> seemed to work, but when apache tries to initialize the module, I get an
> error message:
>
> Syntax error on line 238 of /usr/local/etc/apache/httpd.conf:
> Cannot load /usr/local/libexec/apache/mod_auth_pgsql.so into server:
> /usr/local/libexec/apache/mod_auth_pgsql.so: Undefined symbol "PQexec"
>
> The module is mod_auth_pgsql 0.9.0, and it does support DSO. The symbol
that
> the server cannot locate is in an external shared lib - libpg.so.
>
> I have tried various command line incantations while compiling the module
as
> well as ensuring the loaders library cache contains the dir that the
library
> is in (/usr/local/pgsql/lib).
>
> Reading the apache documentation on the DSO mechanism it suggests that
there
> may be problems with this on non ELF architectures (which this is
obviously
> not).
>
> Could someone help shed some light on this? For the meantime I will use
> static modules, but would *really* like to use DSO.
>
> As an FYI, I am using the apache13 port on FreeBSD 3.3-RELEASE.
>
> Thanks!
> Tim
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010001bf4655$96c72020$9828f99f>