From owner-freebsd-questions Tue May 15 23:33:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 4580F37B423 for ; Tue, 15 May 2001 23:33:11 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f4G6X9J00573; Wed, 16 May 2001 01:33:09 -0500 (CDT) (envelope-from dan) Date: Wed, 16 May 2001 01:33:09 -0500 From: Dan Nelson To: Jonathan Fortin Cc: questions@FreeBSD.ORG Subject: Re: Ldconfig Issue Message-ID: <20010516013309.A26749@dan.emsphone.com> References: <007601c0ddbf$fbd360c0$020a10ac@node00> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <007601c0ddbf$fbd360c0$020a10ac@node00>; from "Jonathan Fortin" on Wed May 16 00:23:39 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 16), Jonathan Fortin said: > I got a couple of static librarys in /usr/local/lib (.a) and ldconfig > is not picking them up for some reason and it works fine when i use > -L/usr/local/lib -lgd. ldconfig sets paths for the runtime linker to help it find shared libraries. Static libraries are linked at compile time, so ldconfig doesn't do anything. Just use -L /usr/local/lib; that's what it's for. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message