Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 13:20:20 +0200
From:      "Marc Wandschneider" <marcw@lanfear.com>
To:        "Marc Wandschneider" <marcw@lanfear.com>, <freebsd-questions@freebsd.org>
Subject:   Re: overriding db.h
Message-ID:  <000b01c038f5$baa396c0$0800000a@lanfear.com>

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

    yep, i'm a moron.  looks like the first thing i tried had one thing
wrong in it, and i never tried it again ...

    argh!

    sorry for the wasted bandwidth.

    marc.


----- Original Message -----
From: "Marc Wandschneider" <marcw@lanfear.com>
To: <freebsd-questions@freebsd.org>
Sent: Wednesday, October 18, 2000 11:58 AM
Subject: overriding db.h


>
> 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?000b01c038f5$baa396c0$0800000a>