[英]How can I be sure that libssl-dev includes headers from libssl 0.9.8 instead of libssl 1.0?
I'm migrating a development environment from Ubuntu 10.04 to Ubuntu 12.04. 我正在将开发环境从Ubuntu 10.04迁移到Ubuntu 12.04。 An issue is that lib openssl has been upgraded from version 0.9.8 to 1.xxx.
问题是lib openssl已从0.9.8版本升级到1.xxx。
I got a lot of useful tips from other questions but now I'm not sure my final version is really correct or not. 我从其他问题中得到了很多有用的提示,但是现在我不确定我的最终版本是否正确。
I am using an SDK which has the following content 我正在使用包含以下内容的SDK
What I did: 我做了什么:
==> Everything seems to work just fine. ==>一切似乎都正常。
BUT I am afraid that the includes I got through the libssl-dev are the ones of the 1.0 versions and they could mess up with my code running with the 0.9.8 version. 但是我恐怕我通过libssl-dev获得的include是1.0版本的,它们可能会弄乱我在0.9.8版本上运行的代码。
Is my current environment correct or should I do something else (like somehow getting the headers of the 0.9.8 version)? 我当前的环境是否正确,还是应该做其他事情(例如以某种方式获取0.9.8版本的标题)?
libssl-dev
includes the 1.0 header files, there are no Ubuntu-provided development packages for 0.9.8. libssl-dev
包含1.0头文件,没有Ubuntu提供的0.9.8开发包。 If I had to use 0.9.8, I'd probably just compile it myself and install to /usr/local
. 如果必须使用0.9.8,我可能会自己编译并安装到
/usr/local
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.