Tiaoooo 2018-01-18 03:39 采纳率: 100%
浏览 3657
已采纳

Curl make的时候报错,求大佬指点迷津

因为默认的curl不支持https协议,我编译安装完openssl之后显示已支持https了,但是在重新make curl时出现报错。
求大佬指点迷津。

curl版本:7.57
openssl版本:1.1.0g
ubuntu版本:14.04.2 LTS 

详细报错信息如下:

root@iZwz9akk7iswd53zv5vrzeZ:~/curl-7.57.0# make
Making all in lib
make[1]: Entering directory `/root/curl-7.57.0/lib'
make  all-am
make[2]: Entering directory `/root/curl-7.57.0/lib'
make[2]: Leaving directory `/root/curl-7.57.0/lib'
make[1]: Leaving directory `/root/curl-7.57.0/lib'
Making all in src
make[1]: Entering directory `/root/curl-7.57.0/src'
Making all in ../docs
make[2]: Entering directory `/root/curl-7.57.0/docs'
Making all in .
make[3]: Entering directory `/root/curl-7.57.0/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/curl-7.57.0/docs'
Making all in cmdline-opts
make[3]: Entering directory `/root/curl-7.57.0/docs/cmdline-opts'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/curl-7.57.0/docs/cmdline-opts'
make[2]: Leaving directory `/root/curl-7.57.0/docs'
make[2]: Entering directory `/root/curl-7.57.0/src'
  CCLD     curl
../lib/.libs/libcurl.so: undefined reference to `SSLv23_client_method'
../lib/.libs/libcurl.so: undefined reference to `CONF_modules_free'
../lib/.libs/libcurl.so: undefined reference to `ERR_free_strings'
../lib/.libs/libcurl.so: undefined reference to `sk_value'
../lib/.libs/libcurl.so: undefined reference to `SSL_library_init'
../lib/.libs/libcurl.so: undefined reference to `sk_pop_free'
../lib/.libs/libcurl.so: undefined reference to `SSLeay'
../lib/.libs/libcurl.so: undefined reference to `SSLv3_client_method'
../lib/.libs/libcurl.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'
../lib/.libs/libcurl.so: undefined reference to `SSL_COMP_free_compression_methods'
../lib/.libs/libcurl.so: undefined reference to `EVP_cleanup'
../lib/.libs/libcurl.so: undefined reference to `sk_num'
../lib/.libs/libcurl.so: undefined reference to `sk_pop'
../lib/.libs/libcurl.so: undefined reference to `SSL_load_error_strings'
collect2: error: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/root/curl-7.57.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/curl-7.57.0/src'
make: *** [all-recursive] Error 1

error

  • 写回答

6条回答 默认 最新

  • threenewbee 2018-01-18 03:48
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥15 请上面代码做什么处理或什么混淆
  • ¥15 英雄联盟自定义房间置顶
  • ¥15 W5500网线插上无反应
  • ¥15 如何用字典的Key,显示在WPF的xaml中
  • ¥15 weautomate读取Excel表格信息然后填写到网页一直报错,如何解决?
  • ¥15 C#如何在Webview2中获取网页验证码
  • ¥15 esp32烧录失败,具体情况在图片上
  • ¥15 selenium安装报错
  • ¥15 在node.js中无法安装yarn
  • ¥15 python程序修改