Add either the -ldbfork or-ldbfork_64 argument to the command that you use to link your programs. If you are compiling 32-bit code, use the following arguments:
When you use gcc or g++, use the -Wl,-bkeepfile option instead of using the -bkeepfile option, which will pass the same option to the binder. For example: