Schema parsing (which you can check with "-d config") isn't going to affect a bdb_open. There's a chance that your db4 libraries aren't appropriate for your system (I note the mutex error; perhaps you or your distro autoconf'd the wrong option for your architecture).