From owner-freebsd-ports Thu Aug 24 5:43:55 2000 Delivered-To: freebsd-ports@freebsd.org Received: from thelab.hub.org (nat198.136.mpoweredpc.net [142.177.198.136]) by hub.freebsd.org (Postfix) with ESMTP id AC97B37B422 for ; Thu, 24 Aug 2000 05:43:52 -0700 (PDT) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id JAA86023; Thu, 24 Aug 2000 09:43:48 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Thu, 24 Aug 2000 09:43:48 -0300 (ADT) From: The Hermit Hacker To: R Joseph Wright Cc: freebsd-ports Subject: Re: postgresql, ldconfig, and non root directories In-Reply-To: <20000824002157.A38108@mammalia.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Based on reading the following URL: http://www.visi.com/~barr/ldpath.html I got into the habit months ago of setting LDFLAGS to -R/usr/local/pgsql/lib before compiling PostgreSQL, so that I don't have to worry about ldconfig and whatnot ... same for any code that requires those libraries ... On Thu, 24 Aug 2000, R Joseph Wright wrote: > The postgresql port installs all everything under /usr/local/pgsql and this > directory is of owner and group pgsql. When the port is in the final stages > of installation, it does ldconfig /usr/local/pgsql/lib, but it cannot because > the directory is not owned by root. > I assume it's for security reasons that the port does not get installed in > the usual places (/usr/local/bin, /usr/local/lib, etc). So how does one get > around this ldconfig problem? Has no one encountered it before? > > Joseph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message