The readline installed by brew in MacOS does not be linked to /usr/local/lib by default. Users have to run brew link readline --force to facilitate Readline package to use it.
The default libreadline is in /usr/local/opt/readline/lib/. Adding the default dir into the path list avoids a potential error.
The
readline
installed by brew in MacOS does not be linked to/usr/local/lib
by default. Users have to runbrew link readline --force
to facilitateReadline
package to use it.The default
libreadline
is in/usr/local/opt/readline/lib/
. Adding the default dir into the path list avoids a potential error.