From owner-freebsd-questions@FreeBSD.ORG Thu Mar 29 17:39:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9A5816A403 for ; Thu, 29 Mar 2007 17:39:36 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0908313C457 for ; Thu, 29 Mar 2007 17:39:35 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l2THc4EK004218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 29 Mar 2007 20:38:10 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l2THbj7W005012; Thu, 29 Mar 2007 20:37:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l2THbj9k005011; Thu, 29 Mar 2007 20:37:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 29 Mar 2007 20:37:44 +0300 From: Giorgos Keramidas To: Charles Farinella Message-ID: <20070329173744.GB4486@kobe.laptop> References: <460ADCE9.4090203@appropriatesolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <460ADCE9.4090203@appropriatesolutions.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.516, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.68, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: LD_LIBRARY_PATH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 17:39:36 -0000 On 2007-03-28 17:23, Charles Farinella wrote: > New to FreeBSD. How can I update my LD_LIBRARY_PATH? > > In Linux I modify my /etc/ld.so.conf file and run ldconfig. Is there > an equivalent here? A pointer to docs would be fine. The *important* question, of course, is why do you need to set LD_LIBRARY_PATH? You can do this either in your shell startup scripts, or in /etc/login.conf (for all users), but please before you do, read the post at: http://groups.google.com/group/comp.unix.solaris/msg/a8f9eeda832e17d2?dmode=source It's a post I recently made to comp.unix.solaris with a detailed comment about LD_LIBRARY_PATH usage in Solaris, but similar things apply to programs compiled and installed on FreeBSD too. HTH, Giorgos