我对使用 mac 几乎没有新意,当我尝试从命令行运行工具时遇到了一些问题。我正在尝试运行需要 CRF++ 的软件。这是错误;
Cannot load the example native code.
Make sure your LD_LIBRARY_PATH contains '.'
java.lang.UnsatisfiedLinkError: no CRFPP in java.library.path
我已经在我的机器上安装了 CRF++-058。我使用 brew 来安装 CRF++ 0.58。
/usr/local/Cellar/crf++/0.58: 11 files, 784K, built in 32 seconds
这是 brew doctor 的输出
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libcrfpp.la
有谁知道如何解决这个问题?任何帮助将非常感激。谢谢