![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi, The first thing to do is to set up the Berkeley DB error stream: myEnv.set_error_stream(&std::cerr); That should give you more information about what is failing. My hunch is that you have configured Berkeley DB to use POSIX mutexes but that this system does not support having POSIX mutexes shared between processes. If that is the issue, adding DB_PRIVATE to env_flags should allow you to open an environment. However, if you need to have multiple processes sharing data, you'll need to find an appropriate mutex implementation. Berkeley DB has a "ARM/gcc-assembly" mutexes, which should do what you need in that case. Regards, Michael. |
![]() |
| Thread Tools | |
| Display Modes | |
| |