Using the Berkeley DB

Jan malepatus at googlemail.com
Wed Sep 30 17:02:24 UTC 2009


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/"





More information about the ubuntu-users mailing list