"不允许操作"在OS X上链接OpenSSL 1.1.0时

时间:2016-09-21 20:38:27

标签: c++ macos openssl linker-errors

我在OS X上构建了OpenSSL 1.1.0:

./Configure darwin64-x86_64-cc shared enable-ec_nistp_64_gcc_128 \
    no-ssl2 no-ssl3 no-comp --openssldir=/usr/local/ssl/macos-x86_64
make depend
sudo make install

我在系统中将此链接起来时遇到了问题。它仍然显示我的旧版本。

openssl version
OpenSSL 1.0.2h  3 May 2016

-rwxr-xr-x   1 root   wheel    922496 Jul  8 22:51 openssl

我得到的链接错误是:

Operation not permitted

我错过了什么?

0 个答案:

没有答案