美文网首页
ld: file not found: /usr/lib/sys

ld: file not found: /usr/lib/sys

作者: 一直小鱼 | 来源:发表于2018-02-01 22:22 被阅读396次

问题


Mac电脑、Python3.6、pip3安装uwsgi的时候报错:

    ld: file not found: /usr/lib/system/libsystem_darwin.dylib for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    *** error linking uWSGI ***

解决办法


export LDFLAGS="-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/system"

相关文章

网友评论

      本文标题:ld: file not found: /usr/lib/sys

      本文链接:https://www.haomeiwen.com/subject/hbbjzxtx.html