> Arg, I am not even sure whether glibc is the problem. A minimal sample > application that performs lookups performs just fine. > [...] Here are two strace logs, one with a working lookup and one with a failed one.