homebrew - 警告 : libxml2 is a keg-only and another version is linked to opt

标签 homebrew libxml2

当我

$ brew install libxml2

我明白了:

Warning: libxml2 is a keg-only and another version is linked to opt.
Use brew install --force if you want to install this version

那么,这里有什么问题吗?或者只是一个更新的版本出来了,我可以安装那个更新的版本?

我有这个警告:

brew install libiconv

也是。

最佳答案

试试这个:

brew install --force libxml2
brew link --force libxml2

关于homebrew - 警告 : libxml2 is a keg-only and another version is linked to opt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41761207/

相关文章:

macos - 列出 Homebrew 程序包中的所有文件

homebrew - 如何将Homebrew环境迁移到另一台计算机?

c - 对 `main' 的 undefined reference - 使用 libxml2 的 Eclipse

c++ - 替换文档的根节点

homebrew - 从 Homebrew 程序/欺骗程序到 Homebrew 程序/核心的迁移是什么?

mysql - 如何以root身份运行brew?

macos - 修复 zsh 命令未找到 : brew?(安装 Homebrew)

c++ - 在 FreeBSD 上构建 lxml 示例时未定义对 glib 的引用

c++ - 如何使用 libxml2 获取内容?

c++ - libxml - 从原始数据加载 xmlDoc