libcurl在64位centos下访问https错误
伊谢尔伦
伊谢尔伦 2017-04-24 15:59:08
0
1
834

c程序,用libcurl访问一个https rest url, 同样的程序在32位centos测试没问题,但在64位centos下出错:
gdb:
2296 CURLcode cr = curl_easy_perform(curl);
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff37921c0 in pthread_mutex_lock () from /lib64/libpthread.so.0

大家给点思路吧

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
某草草

Considering 64-bit compilation issues, do you need the following similar definitions when compiling class libraries
-D UNIX64

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!