Closed luckduvip closed 7 years ago
As far as I know, It wasn't installed by homebrew (because homebrew does not install to xgettext
is no dependency, but it apparently gets used if it's in $PATH
./opt/local/bin
) and compiled against a libncurses version other than the one shipped by macOS.
$ ls -l /usr/lib/libncurses*
-rwxr-xr-x 1 root wheel 522064 Sep 14 02:56 /usr/lib/libncurses.5.4.dylib
lrwxr-xr-x 1 root wheel 20 Sep 21 18:16 /usr/lib/libncurses.5.dylib -> libncurses.5.4.dylib
lrwxr-xr-x 1 root wheel 20 Sep 21 18:16 /usr/lib/libncurses.dylib -> libncurses.5.4.dylib
No libncurses 6.x.
Try finding out why there's a gettext in /opt/local
and remove it, or remove /opt/local/bin
from your $PATH
, before using brew
.
@mhinz I try again , Any way , thanks.
@mhinz It do not work. and I use port to install neovim in my mac. any way, thanks.
You mix MacPorts (which installs to /opt/local
) and Homebrew, eh? Don't do that.
As you can see here, MacPorts' Neovim depends on gettext which again depends on ncurses 6.0. Apparently you installed gettext
using MacPorts once and deinstalled the port of ncurses later. Or maybe MacPorts libncurses version can't be found.
It's an environmental problem for sure. :-)
when i type 'brew install neovim' the err code is
Referenced from: /opt/local/bin/xgettext Reason: Incompatible library version: xgettext requires version 6.0.0 or later, but libncurses.6.dylib provides version 5.0.0
i do not know how to update the xgettext. help me ~~