【版权申明】转载请附上出处链接
Looking for pthread_create in pthreads - not found
error log:
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_THREAD_run_once':
threads_pthread.c:(.text+0xf4): undefined reference to `pthread_once'
==

本文记录了在使用libcrypto.a(threads_pthread.o)时遇到的pthread_create找不到的问题及解决过程。文中详细描述了从查找pthread_create到最终确定使用正确的库文件来解决问题的步骤,并给出了具体的解决方案。
最低0.47元/天 解锁文章
3145





