From owner-freebsd-questions Wed May 19 15: 0:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 7286915515 for ; Wed, 19 May 1999 15:00:10 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id SAA11158; Wed, 19 May 1999 18:00:24 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199905192200.SAA11158@cc942873-a.ewndsr1.nj.home.com> Subject: Re: How does FreeBSD look for libs? In-Reply-To: <374317AD.F6E4766E@kew.com> from Ed Keith at "May 19, 99 03:57:33 pm" To: edk@kew.com (Ed Keith) Date: Wed, 19 May 1999 18:00:24 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ed Keith wrote, > I'm getting an error that a program can't find a library. I found the > library and added it's location to the PATH, but the problem remains. > > What defines where to look for libraries? Compile-time or run-time? Use a '-l' option on a compiler. For run-time see 'man ldconfig'. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message