Restrictions on linking to libdb2.so

On some Linux® distributions, the libc development rpm comes with the /usr/lib/libdb2.so or /usr/lib64/libdb2.so library. These libraries are used for Sleepycat Software's Berkeley DB implementation and is not associated with IBM® Db2® database systems.

If you do not plan to use Berkeley DB, you can rename or delete these library files permanently on your systems.

If you do want to use Berkeley DB, you can rename the folder containing these library files and modify the environment variable to point to the new folder.