Thanks ppuru and maxut for your suggestions.
Firstly, I already applied the first patch (errno). I have not tried the rest of them yet. Since my error occured at the very first of the test--sending short email to local user, the rest of patches might not effect much. However, I will try to patch all.
As of my installation, I followed chapter2 in this book,
The qmail Handbook. I will try to uninstall and follow
www.qmailrocks.org.
Still, I think that the problem is about
shared library, not just qmail configuration, because I searched in Google and found that the error message,
libc.so.6: cannot open shared object file: Permission denied, occured in other applications as well, e.g., portgre.
Thank you for all suggestions