由于一般的APT的包版本都过久,所以打算编译最新的OPENSS安装..然而遇到了很多问题。最终在GITHUB上找到解决方案。
#在config上加上以下参数
-Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
Code language: PHP (php)
原文:
Those warnings are unrelated, yes.
However, the automatic addition of RPATH components have recently been removed from OpenSSL. If you want them, add this to your configuration options: -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
Another option is to add /opt/openssl/1.1.1-dev/lib to your /etc/ld.so.conf
The reason we removed the automatic RPATH addition was that it got in the way, and that we now install in standard directories by default.
0 条评论