Hi, The issue has been around for ages and I was hoping it would silently disappear :/ If you have an app that uses edb (or links with an EFL that does) and the app wants to use a berkeley dbX version itself then you get segv. I'm not sure if the bdb that edb is based on supports unique prefixing: http://www.sleepycat.com/docs/ref/install/multiple.html
For example, the following app runs fine when compiled without linking
to any other berkeley db than edb, but once db4 is involved it crashes
badly with a non informative backtrace.
$ gcc edbdump.c -o edbdump -ledb
$ ./edbdump
$ gcc edbdump.c -o edbdump -ldb -ledb
$ ./edbdump
Segmentation fault
$
Given the strong embedded emph for EFL I'm not sure if we can move edb
to using a berkeley db supporting the uniquename option or not. At any
rate being able to use edb + some other lib that uses db4 would be nice.
Sample that doesn't play well with db4 and edb (used above).
#include <db4/db.h>
#include <Edb.h>
int main( int argc, char** argv )
{
int rc = 0;
DB_ENV *dbenvp = 0;
DB *dbp = 0;
E_DB_File* foo = e_db_open( "/tmp/bar.edb" );
return 0;
}
signature.asc
Description: This is a digitally signed message part
