-ILBerkeley DB: Building a Shared Library Version of Berkeley DB[PF

Building a Shared Library Version of Berkeley DB



KIf you are on Windows/NT or Windows, you can build a shared library versionGof Berkeley DB by opening the build_win32/Berkeley_DB.dsw workspace andJselecting target DB_DLL. Set the configuration to Win32 Debug, and build.=Make sure there is a build_win32/Debug/libdb.dll as a result.

IIf you are using a UNIX platform, you will need to do a little extra workTto build a shared library version of Berkeley DB DB. By default, Berkeley DB buildsLas a static library. If you've already built Berkeley DB, you can copy your-build directory to use as a work space, e.g.:



INow you'll need to consult your system documentation to understand how toNbuild Berkeley DB as a shared library. As UNIX architectures do not all buildNshared libraries the same way, Berkeley DB is not distributed with support forbuilding shared libraries.

JExamples for building shared library versions of Berkeley DB are available3for HP/UX and@the generic GCC compiler.GIf you build a shared library version of Berkeley DB for a compiler andDarchitecture combination for which we do not have an example, please>email the procedure to us, and we'll add it to the collection.ÿÿ