当前位置:   article > 正文

mac os 解决 unsafe use of relative rpath libpq.5.dylib_failed to modify system integrity

failed to modify system integrity

需要关闭SIP,SIP操作参考:https://itdiandi.net/view/559

关闭SIP后重启系统,执行下面的命令,如果SIP是打开状态得话会报错:csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.

  1. sudo mv /usr/lib/libpq.5.dylib /usr/lib/libpq.5.dylib.old
  2. sudo ln -s /Library/PostgreSQL/你的版本/lib/libpq.5.dylib /usr/lib

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/670509
推荐阅读
相关标签
  

闽ICP备14008679号