From owner-freebsd-questions@FreeBSD.ORG Tue May 27 01:00:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E1B037B404 for ; Tue, 27 May 2003 01:00:26 -0700 (PDT) Received: from windmill.garlic.com (windmill-en0.garlic.com [208.195.160.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id C292543F75 for ; Tue, 27 May 2003 01:00:25 -0700 (PDT) (envelope-from madriax@garlic.com) Received: from someone (140.sm7.dialup.garlic.net [216.139.3.140]) by windmill.garlic.com (8.11.1/8.11.1) with ESMTP id h4R80Mi93510 for ; Tue, 27 May 2003 01:00:23 -0700 Message-Id: <200305270800.h4R80Mi93510@windmill.garlic.com> From: "Remington L." To: Date: Tue, 27 May 2003 00:59:58 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook, Build 11.0.4920 Thread-Index: AcMkJeZKIhwgzXopR263T66l5dauew== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Changing library paths? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 08:00:26 -0000 I want to change the library path to a given executable. Example: I have "foo". When I do a ldd foo it comes up with: Libc.so.4 => /usr/lib/libc.so.4 I want to be able to change the path to say something like /compat/linux/lib/libc.so.4 How is this accomplished? Thanks