When installing a plugin with yum, the following error occurs:
failed: BDB1507 Thread died in Berkeley DB library
As shown in the image:

Solution: Execute the following commands and then try reinstalling:
rm -f /var/lib/rpm/__db*
rpm –rebuilddb #Rebuild RPM database
yum clean all #Clean all yum caches
yum makecache #Regenerate yum cache