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
大家给点思路吧
Memandangkan isu kompilasi 64-bit, adakah anda memerlukan takrifan serupa berikut semasa menyusun pustaka kelas?
-D UNIX64