Can you make sure that you build the shared Kerberos library with the -D_REENTRANT preprocessor flag? If your problem persists, we should look at it in more depth.