Date: Thu, 16 Dec 2004 18:17:14 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: "Don L. Belcher" <don@siad.net> Cc: freebsd-stable <freebsd-stable@FreeBSD.ORG> Subject: Re: [Fwd: Cannot find libraries in /usr/local/lib even though they are in hints files] Message-ID: <20041216071714.GD1541@k7.mavetju> In-Reply-To: <41C1358E.1020305@siad.net> References: <41C1358E.1020305@siad.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041216071714.GD1541>