The soname doesn't seem to be the problem in that case: E: codeblocks: sharedobject-in-library-directory-not-actually-a-shlib usr/lib/libcodeblocks.so.1.0-beta6
``1.0-beta6'' is not a SONAME. Please read the Debian Library Packaging Guide.
Regards, Philipp Kern