我运行“命令PIP安装psycopg2”我得到了一堆的输出,看起来像错误安装psycopg2,图书馆没有找到-lssl
cc -DNDEBUG -g -fwrapv -Os .....
.....
cc -DNDEBUG -g -fwrapv -Os .....
.....
,并在最后它说:
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'cc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/bz/pvj1g9xj16d10pjjgbrfl3fw0000gn/T/pip_build_root/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/bz/pvj1g9xj16d10pjjgbrfl3fw0000gn/T/pip-uE3thn-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/bz/pvj1g9xj16d10pjjgbrfl3fw0000gn/T/pip_build_root/psycopg2
Storing debug log for failure in /Users/Tyler/Library/Logs/pip.log
运行的easy_install或源做都给予我同样的错误在最后(没有发现-ls有关图书馆的一部分SL)。
运行BREW安装(或升级)的OpenSSL产生以下
$ brew upgrade openssl
Error: openssl-1.0.1h already installed
谁能帮助我吗?
我得到这个错误:'拒绝链接:openssl' – Flimm 2016-10-11 09:58:20