由于一般的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.


了解 Starx's Home 的更多信息

Subscribe to get the latest posts sent to your email.

分类: OPENSSL

0 条评论

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据