From owner-freebsd-ports@FreeBSD.ORG Thu Aug 17 21:39:31 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D05F916A4DF for ; Thu, 17 Aug 2006 21:39:31 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.192.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7114543D45 for ; Thu, 17 Aug 2006 21:39:31 +0000 (GMT) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-24-6-181-195.hsd1.ca.comcast.net[24.6.181.195]) by comcast.net (rwcrmhc12) with ESMTP id <20060817213930m12001b47re>; Thu, 17 Aug 2006 21:39:30 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0B1835C041; Thu, 17 Aug 2006 14:39:30 -0700 (PDT) Date: Thu, 17 Aug 2006 14:39:30 -0700 From: Jeremy Chadwick To: alan bryan Message-ID: <20060817213930.GA46999@icarus.home.lan> Mail-Followup-To: alan bryan , freebsd-ports@freebsd.org References: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-ports@freebsd.org Subject: Re: Apache 2.2 and Postgres X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 21:39:31 -0000 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 |