Architecture-Independent FAQs

  1. When compiling with gcc, I get unreferenced symbols; for example, the following:

    symbol __muldi3: referenced symbol not found 
    symbol __cmpdi2: referenced symbol not found 

    On systems where they’re available (HP-UX, Solaris), Berkeley DB uses 64-bit integral types. As far as we can tell, some versions of gcc don’t support these types. The simplest workaround is to reconfigure Berkeley DB using the —disable-bigfile configuration option and then rebuild.

  2. My C++ program traps during a failure in a DB call on my gcc-based system.

    We believe there are some severe bugs in the implementation of exceptions for some gcc compilers. Exceptions require some interaction between compiler, assembler, and runtime libraries. We’re not ...

Get Berkeley DB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.