brew install rlwrap
49-On recent OS X sytems, libreadline is not the real thing, but a
50-non-GNU replacement. If the linker complains about missing
51:symbols, install GNU readline and try again.
> Simply install rlwrap via your operating system’s package manager (or manually)
But I'll add an update that mentions the bug on OSX. Thanks for the feedback.