Apache 2.2 and Postgres
Jeremy Chadwick
freebsd at jdc.parodius.com
Thu Aug 17 21:39:31 UTC 2006
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 |
More information about the freebsd-ports
mailing list