From owner-freebsd-questions Wed Oct 18 11:55:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from akira.lanfear.com (akira.lanfear.com [208.12.11.174]) by hub.freebsd.org (Postfix) with ESMTP id 731A237B479 for ; Wed, 18 Oct 2000 11:55:52 -0700 (PDT) Received: from jishin (dyn-dial3-37-sea.bazillion.com [64.92.50.37]) by akira.lanfear.com (8.9.3/8.9.3) with SMTP id LAA22684 for ; Wed, 18 Oct 2000 11:55:44 -0700 (PDT) (envelope-from marcw@lanfear.com) Message-ID: <003101c038e9$ea6b2640$0800000a@lanfear.com> From: "Marc Wandschneider" To: Subject: overriding db.h Date: Wed, 18 Oct 2000 11:58:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG blaugh! i hope this isn't so ridiculously simple i'm looking like a moron here, but i've run into something that i'm not sure of what the best solution is: i'm writing an application that uses the DB interfaces, and FreeBSD only seems to have the old 1.85 ones. So, I've downloaded the new 3.x ones, and have installed them in /usr/local/lib/db-3.1.17. So, the question is: how do i have #include and -ldb use the new ones in /usr/local/lib/etc ... and not the ones in /usr/include and /usr/lib without simply deleting the old ones .. ??? i've been looking at the -nostdinc flags and all that jazz, but am hoping there is a more 'common' way of doing this. any suggestions appreciated. thanks! marc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message