ubuntu下调试ffmpeg程序出现undefined reference to pthread_once ,undefined reference to uncompress错误...
Ubuntu(版本16.04)下默认配置编译Ffmpeg(版本4.1.3configure添加选项--enable-threads),将编译好的ffmpeg库添加到程序中进行编译出现undefinedreferencetopthread_once,undefinedreferencetouncompress等错误,提版本示pthread_once未定义原因是编译链接时找不到pthread_one。