dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libhunspell-1.7.so.0 (used by debian/codeblocks-contrib/usr/lib/codeblocks/plugins/libSpellChecker.so)
Hint: check if the library actually comes from a package.
Your package depends on the self-built libhunspell, which is not allowed for good reasons. Remove it from your system, install libhunspell-dev provided by your distribution.
I have the libhunspell provided by my distribution. I installed it with sudo apt-get install libhunspell-dev
The error message above clearly states that libSpellChecker.so was linked against /usr/local/lib/libhunspell-1.7.so.0 which is not provided by any package installed on your system.
Yes, I know; it's something that has me perplexed.
if I type 'sudo apt install libhunspell-dev'
Reading package lists... Done
Building dependency tree
Reading state information... Done
libhunspell-dev is already the newest version (1.6.2-1).
It shows I have libhunspell v1.6 installed; which is the one listed in the package manager.
The libhunspell v1.7 I tarred the files before deleting them from /usr/lib and I tried building the packages and it failed immediately because of a dependency on libhunspell; particularly that one (v1.7), even though I have v1.6 installed on my system. I even uninstalled and reinstalled v1.6 but I got the same results. There is something on my system that's telling it where to find libhunspell and it is pointing to the v1.7 one in usr/lib. If I can find where that is, I could fix this problem. So I restored the v1.7 for the tar file to the /usr/lib directory and I was able to make the code; even though I still can't build packages.