It's not an error with Slackware.
It's possible that you had corrupt packages and/or a corrupt install media, although to be honest, I don't see a broken symlink replacing a directory other than two ways:
1. a rogue package overwrote it
2. a user accidentally/cluelessly did it
Out of curiosity, where did the symlink point?