当前位置: 首页 > Linux

brewpackagenotlinked错误处理

时间:2023-04-06 19:58:39 Linux

brewpackagecan'tlinkproblem有时brewdoctorself-testafterbrewinstall[package]会显示notlinkerror?~/brewdoctorWarning:YouhaveunlinkedkegsinyourCellarLeavingkegsunlinkedcanlead制造麻烦并导致依赖这些小桶的啤酒在制造后无法正常运行。在这些上运行“brewlink”:libeventrunbrewlinkfound:~/brewlinklibeventLinking/usr/local/Cellar/libevent/2.1。8...错误:无法符号链接include/evdns.h/usr/local/include不可写。这就需要我们更改一些系统文件夹的读写权限,根据自己文件夹的实际情况写sudochown-Rusrname:admin/usr/local/sudochown-Rusrname:admin/usr/include/sudochown-Rusrname:admin/Library/...在系统偏好设置-用户和组中找到usrname运行:?~/brewlinklibeventLinking/usr/local/Cellar/libevent/2.1.8...创建了817个符号链接问题解决了。需要注意的是macOS10.12现在已经禁止brew命令使用超级权限sudo