Carson Reinke's (🚗☀☔🔑) Blog

libgpgme.so.11: cannot open shared object file: No such file or directory in Unknown on line 0

http://old.nabble.com/Cannot-open-shared-object-file-td30570804.html

Was able to fix this problem by using –with-prefix for configure  to the correct directory when building _ gpgme _.  Basically, the dependency could not be found.  In my situation, I used _ –with-prefix=/usr _ because without it _ /usr/local _ was being used and that is not within _ ldconfig _ path.  Obviously, the “No such file or directory” is a giveaway on this issue.  Another option would of been to modify the ldconfig file, but that did not seem like a good idea to me, since the only issue was a bad path.