Using the Berkeley DB

Steve Flynn anothermindbomb at gmail.com
Wed Sep 30 17:46:04 UTC 2009


On Wed, Sep 30, 2009 at 6:02 PM, Jan <malepatus at googlemail.com> wrote:
> Steve Flynn wrote:
>> On Wed, Sep 30, 2009 at 4:48 PM, Jan <malepatus at googlemail.com> wrote:
>>
>>> ===
>>> g++ main.cpp -o dbApp -ldb_cxx-4.7 -I /usr/local/BerkeleyDB.4.7/include/
>>>
>>
>>
>>> main.cpp:2:20: error: db_cxx.h: No such file or directory
>>>
>>> Has anyone an Idea what goes wrong here?
>>>
>>
>> Do you actually have the db_cxx.h file anywhere on your machine? I
>> imagine it comes with the source for Berkeley, but not having it
>> installed (or near a Linux machine) I can't say where it should come
>> from.
>>
>>
> I've the db_cxx.h file on my machine. The file is located in the
> directory "/usr/local/BerkeleyDB.4.8/include/"

Typo? You say the file is in BerkeleyDB4.8 but your call to the
compiler specifies BerkeleyDB4.7iInclude

4.7 vs 4.8

-- 
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0




More information about the ubuntu-users mailing list