在Ubuntu 11.10(Hiphop)上构建libcurl 7.21.2时出现问题 [英] Problems building libcurl 7.21.2 on Ubuntu 11.10 (Hiphop)

查看:162
本文介绍了在Ubuntu 11.10(Hiphop)上构建libcurl 7.21.2时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在遵循此Hiphop安装指南:

I'm following this Hiphop installation guide:

https://github.com /facebook/hiphop-php/wiki/Building-and-installing-on-ubuntu-10.10

当我尝试make时,出现以下错误:

And when I try to make it, I get the following errors:

../lib/.libs/libcurl.so: undefined reference to `SSLv2_client_method'

我找到了此服务器故障票,但是来自链接的Github的合并更改拉请求似乎无法解决问题.

I've found this Server Fault ticket, but the merged change from the linked Github pull request didn't seem to fix the problem.

https://superuser.com/questions/339932/compiling-curl -with-hiphop-for-php-patch

我正在运行Ubuntu 11.10,但我怀疑这是问题所在.

I'm running Ubuntu 11.10, but I doubt that's the issue.

感谢您提供的任何帮助!

Thanks for any help you can provide!

添加Hiphop Cmake错误:

Adding Hiphop Cmake errors:

当我只是尝试cmake .而忽略了libcurl问题时,就会出现错误:

Here are errors when I just try to cmake . while ignoring the libcurl problems:

CMake Error at CMake/HPHPFindLibs.cmake:90 (message):
  Custom libcurl is required with the HipHop patch
Call Stack (most recent call first):
  CMake/HPHPSetup.cmake:46 (include)
  src/CMakeLists.txt:18 (include)

推荐答案

Ubuntu 11.10使用OpenSSL v1.0. OpenSSL v1.0(最终!)完全禁用了SSLv2支持.

Ubuntu 11.10 uses OpenSSL v1.0. OpenSSL v1.0 has (finally!) disabled SSLv2 support entirely.

从7.21.5开始,Curl可以针对nosslv2 OpenSSL进行构建.

Curl can build against nosslv2 OpenSSL starting from 7.21.5.

您可以将7.21.5中的更改移植到允许自定义libcurl的版本中.另外,您可以构建包含SSLv2支持的OpenSSL私有版本,并针对它链接您的自定义libcurl.

You can port the changes in 7.21.5 that allow such builds back to your custom libcurl. Alternatively, you can build a private version of OpenSSL that includes SSLv2 support, and link your custom libcurl against it.

这篇关于在Ubuntu 11.10(Hiphop)上构建libcurl 7.21.2时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆