I have installed zsh version 5.6.2 via brew. I am having trouble loading mapfile module.
adding zmodload zsh/mapfile mapfile gives error ~/.zshrc:15: failed to load module 'mapfile': dlopen(/usr/local/Cellar/zsh/5.6.2_1/lib/mapfile.bundle, 9): image not found
Anyone know how to debug this or a fix ?