From owner-freebsd-questions Mon Mar 29 2:17:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (Postfix) with ESMTP id A9B6715833 for ; Mon, 29 Mar 1999 02:17:40 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.3/8.9.3/Kp) with ESMTP id LAA16723; Mon, 29 Mar 1999 11:17:18 +0100 (BST) Message-ID: <36FF532D.85F068BE@tdx.co.uk> Date: Mon, 29 Mar 1999 11:17:17 +0100 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: thierry.herbelot@alcatel.fr Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Seeing new libs in /usr/local/lib? (ldconfig?) References: <36FEC784.BC51505E@tdx.co.uk> <19990328181433.B32089@bear.berkeleycs.ml.org> <36FF3F71.E418E120@tdx.co.uk> <36FF4EE4.ADD4D5D@telspace.alcatel.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG HERBELOT Thierry wrote: > > Hello, > > Beware of Static/dynamic libraries (your library is .a, so it is static > and must be linked-in at he compilation/linking time > > [snip] > > So : all your attempts to use ldconfig or LD_LIBRARY_PATH are useless, > you must add a line in your makefile to direct gcc to search for static > libraries (-L option) Thanks for the explanation! - Things are beginning to become clear now! - does anyone have any recommended reading on unix libraries etc. in general? -Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message