On Fri, 27 Aug 2004 22:24:23 +1000 Ben Martin <[EMAIL PROTECTED]> babbled: > 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; > } i thought we fixed that too. we must be clashing symbols again. grrrr. edb needs to be trimmed down though. i'm pretty sure most of its code is unused. :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 熊耳 - 車君 (数田) [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel