编译 curl make 死活不通过,唉
执行参数如下,谢谢各位帮忙看看
```
这一步一切正常
root@debian:~/curl-7.45.0# ./configure --with-ssl
```
![图片描述][1]
make
```
一顿编译之后 ...... 然后出错了
../lib/.libs/libcurl.so: undefined reference to `SSLv2_client_method'
../lib/.libs/libcurl.so: undefined reference to `SSL_CTX_set_alpn_protos'
../lib/.libs/libcurl.so: undefined reference to `SSL_get0_alpn_selected'
collect2: error: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/root/curl-7.45.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/curl-7.45.0/src'
make: *** [all-recursive] Error 1
```
![图片描述][2]
openssl 也是编译的,参数如下
```
./config shared zlib
已经编译成功
root@debian:~/curl-7.45.0# openssl version
OpenSSL 1.0.2d 9 Jul 2015
root@debian:~/curl-7.45.0#
```
[1]:
http://segmentfault.com/img/bVqTxQ
[2]:
http://segmentfault.com/img/bVqTyo