Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 11:58:04 +0200
From:      "Marc Wandschneider" <marcw@lanfear.com>
To:        <freebsd-questions@freebsd.org>
Subject:   overriding db.h
Message-ID:  <003101c038e9$ea6b2640$0800000a@lanfear.com>

next in thread | raw e-mail | index | archive | help

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 <db.h>

    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003101c038e9$ea6b2640$0800000a>