Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好,我在尝试运行水晶规格时遇到错误
/usr/bin/ld: cannot find -lxml2
这只是一个依赖错误还是?我试过谷歌搜索,但仍然找不到解决方案。
您需要安装 libxml 开发头文件。检查这个:https ://github.com/crystal-lang/crystal/wiki/All-required-libraries
或者,如果从字面上理解这个问题:
apt-get install libxml2-dev