If you’re getting this error, you should try rebuilding the source application or using an alternative package manager. It’s likely that the package you’re using is causing the problem. You should also check the pacman.so.12 and libalpm.so.12 sonames. These are common occurrences and may be a sign that you’re missing one of these files.
Error While Loading Shared Libraries