更新时间:2023-11-17 11:26:46
$ sudo ln -s /Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib /usr/lib
$ sudo ln -s /Library/PostgreSQL/9.2/lib/libcrypto.1.0.0.dylib /usr/lib
在Django上工作时遇到此错误. 我在Django == 1.3上的virtualenv上运行它,但在Django == 1.5上的上面我不能执行的命令上却没有.
I encountered this error while working on Django. I have it working on virtualenv with Django==1.3 but not on Django==1.5 where I have to issue the commands above.
在OS X El Capitan中,您必须在不禁用系统保护的情况下进行这些链接,但是如果您链接到/usr/local/lib,它会很好地工作
In OS X El Capitan you can't do these links without disabling system protection but it works well if you link to /usr/local/lib