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

分类: OPENSSL

0 条评论

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用 * 标注

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