简体   繁体   English

在MacOS上的/ opt / local中安装OpenSSL 1.0.2

[英]Install OpenSSL 1.0.2 in /opt/local on MacOS

I have an installed version of openssl 0.9.8zg in /usr/bin/openssl . 我在/usr/bin/openssl有一个openssl 0.9.8zg的安装版本。 However I need to have a version of openssl 1.0.2 in /opt/local . 但是我需要在/opt/local有一个openssl 1.0.2版本。 I was trying to update the version in /usr/bin/openssl and then move to /opt/local , but since I am using El Capitane I cannot access /usr/bin . 我试图更新/usr/bin/openssl的版本,然后移至/opt/local ,但是由于我使用的El Capitane所以无法访问/usr/bin How can I install an upgraded openssl in the given directory? 如何在给定目录中安装升级的openssl?

I don't know of a package manager that uses /opt/local, but the easiest may be to make symlinks there from a brew install, or you could build openssl from source using the --prefix=/opt/local configure option, ie... 我不知道使用/ opt / local的软件包管理器,但最简单的方法可能是从brew安装中建立符号链接,或者您可以使用--prefix=/opt/local configure选项从源代码构建openssl,即...

./configure --prefix=/opt/local
make
make install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 macOS 上的 OpenSSL 1.0.2m - OpenSSL 1.0.2m on macOS dyld:库未加载:/usr/local/opt/openssl/lib/libssl.1.0.0.dylib 在 macOS 升级到 Catalina 后运行 nginx 和 mysql 时 - dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib when running nginx and mysql after macOS upgrade to Catalina 无法安装 tmux。 错误:dyld:库未加载:/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib - Can't install tmux. Error: dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib 将libjpeg v8安装到/ opt / local - Install libjpeg v8 to /opt/local macOS 10.12 brew install openssl 问题 - macOS 10.12 brew install openssl issue “库未加载:/usr/local/opt/openssl/lib/libssl.1.0.0.dylib”与 Xcode 8? - "Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib" with Xcode 8? dyld:未加载库:/usr/local/opt/openssl/lib/libssl.1.0.0.dylib - dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib 在Mac(Yosemite)上将OpenSSL升级到1.0.2的问题 - Issues upgrading OpenSSL to 1.0.2 on Mac(Yosemite) 如何在 MACOS 上安装 GITLAB 本地服务器? - How to install GITLAB local server on MACOS? dyld:未加载库:/usr/local/opt/jpeg/lib/libjpeg.9.dylib OpenCV C ++ MacOS - dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.9.dylib OpenCV C++ MacOS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM