libgpg-error, libgcrypt, libassuan, gpgme and libksba don't allow 'make check' with building the particular library, rpath doesn't wok well.
This is due to having `AM_LDFLAGS = -no-install` in `tests/Makefile.am`.
If it's good to support 'make check' with not-yet-installed library, let us remove the line. Doing this, it will work even if rpath doesn't work well. That's because with no `-no-install`, libtool will create wrapper script with LD_LIBRARY_PATH.
I know that it's only the particular library in questions. When we do for libraries, installing them is required.