在Ubuntu 11.10(Hiphop)上构建libcurl 7.21.2的问题

Mic*_*l B 2 linux ubuntu libcurl hiphop

我正在关注这个Hiphop安装指南:

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

当我尝试make它时,我得到以下错误:

../lib/.libs/libcurl.so: undefined reference to `SSLv2_client_method'
Run Code Online (Sandbox Code Playgroud)

我发现了这个服务器故障票,但是从链接的Github pull请求中合并的更改似乎没有解决问题.

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

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

感谢您的任何帮助,您可以提供!

编辑:添加Hiphop Cmake错误:

当我试图cmake .忽略libcurl问题时,这是错误:

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)
Run Code Online (Sandbox Code Playgroud)

n. *_* m. 5

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

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

您可以移植7.21.5中允许此类构建返回到自定义libcurl的更改.或者,您可以构建包含SSLv2支持的OpenSSL私有版本,并将自定义libcurl链接到该版本.