【解决】undefined reference to 'apr_thread_rwlock_destory'、undefined reference to 'apr_initialize'
1、首选确认安装了apr及apr-util否则报错<apr-1 apr_xxx h>头文件找不到。2、-lapr-1 -laprutil-1添加库链接,否则报错:undefined reference to & 39;apr_thread_rwlock_de
2023-03-24 15:35:20
【解决】undefined reference to 'apr_thread_rwlock_destory'、undefined reference to 'apr_initialize'
1、首选确认安装了apr及apr-util否则报错<apr-1 apr_xxx h>头文件找不到。2、-lapr-1 -laprutil-1添加库链接,否则报错:undefined reference to & 39;apr_thread_rwlock_de