Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 14:39:30 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        alan bryan <alan.bryan@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Apache 2.2 and Postgres
Message-ID:  <20060817213930.GA46999@icarus.home.lan>
In-Reply-To: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com>
References:  <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 17, 2006 at 02:24:31PM -0700, alan bryan wrote:
> # ldd /usr/local/libexec/apache22/mod_authn_dbd.so
> /usr/local/libexec/apache22/mod_authn_dbd.so:
> # ldd /usr/local/libexec/apache22/mod_dbd.so
> /usr/local/libexec/apache22/mod_dbd.so:
>
> Shouldn't there be various pgsql things listed here?

It depends.  For built-in Apache stuff, the answer is no; the
modules are not shared (unless you explicitly build with shared
support).  In English, this means you won't see any linked libs
using ldd on *.so modules.

For non-built-in Apache modules, many prefer shared.  For
example:

$ ldd /usr/local/libexec/apache22/libphp5.so
/usr/local/libexec/apache22/libphp5.so:
        libcrypt.so.3 => /lib/libcrypt.so.3 (0x38404000)
        libm.so.4 => /lib/libm.so.4 (0x3841c000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x38432000)
        libz.so.3 => /lib/libz.so.3 (0x3853d000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x3854d000)

As for the rest of your question -- as I've never run into this
problem (nor do I use PostgreSQL, although it doesn't appear to be
a problem with PostgreSQL), I can't really comment.

Just wanted to share the above info.

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060817213930.GA46999>