Please upgrade sys-auth/nss_ldap bundled with app-emulation/emul-linux-x86-baselibs to version 257 or higher due to bug #162355 which is fixed in that version. This is an extremely nasty bug which prevents all threaded programs from successfully calling fork() after using nss_ldap functionality in some way.
The versions of nss_ldap you mentioned are also vulnerable to a security issue, we're tracking the security status of the emul-baselibs at bug 196865. Thanks for your report. *** This bug has been marked as a duplicate of bug 196865 ***