From owner-freebsd-stable@FreeBSD.ORG Thu Dec 16 07:17:18 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C33D16A4CE for ; Thu, 16 Dec 2004 07:17:18 +0000 (GMT) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF0A143D39 for ; Thu, 16 Dec 2004 07:17:17 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id B6B83707446; Thu, 16 Dec 2004 18:17:16 +1100 (EST) X-Viruscan-Id: <41C1367C0000DCF946FC35@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id 6E21D707445; Thu, 16 Dec 2004 18:17:16 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id CC555707443; Thu, 16 Dec 2004 18:17:15 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id B445B60DC; Thu, 16 Dec 2004 18:17:14 +1100 (EST) Date: Thu, 16 Dec 2004 18:17:14 +1100 From: Edwin Groothuis To: "Don L. Belcher" Message-ID: <20041216071714.GD1541@k7.mavetju> Mail-Followup-To: Edwin Groothuis , "Don L. Belcher" , freebsd-stable References: <41C1358E.1020305@siad.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C1358E.1020305@siad.net> User-Agent: Mutt/1.5.6i cc: freebsd-stable Subject: Re: [Fwd: Cannot find libraries in /usr/local/lib even though they are in hints files] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 07:17:18 -0000 On Thu, Dec 16, 2004 at 02:13:18AM -0500, Don L. Belcher wrote: > Cannot find libraries in /usr/local/lib even thought they are in the > hints file. Is there something else I need to do? Use the -L option for gcc (and other utilities) to specify the location to search for libraries to be linked. ldconfig is for run-time linking, not for compile-time linking. -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/