I'm not sure why this happens. ldconfig brings it back. touch /etc/ld.so.cache , then ebuild <ebuildpath> merge works fine. If anyone can give me more diagnostics to run, I'll merge stuff till it breaks and try that out.
This should now be fixed (try Portage 2.0.4). Re-open this bug if you still have problems.