FFmpeg-iOS-build-script icon indicating copy to clipboard operation
FFmpeg-iOS-build-script copied to clipboard

dyld: Symbol not found: _clock_gettime

Open alexeyvasilyev opened this issue 8 years ago • 1 comments

ISSUE: ffmpeg compiled against iOS 10 SDK (XCode 8) will produce crash while accessing any RTSP source if it is running on iOS 9.x with the following error: dyld: Symbol not found: _clock_gettime

The problem is that iOS 10 has clock_gettime function, but iOS 9 does not have.

FIX: Right after configure put this line

sed -i -- 's/HAVE_CLOCK_GETTIME 1/HAVE_CLOCK_GETTIME 0/g' config.h

alexeyvasilyev avatar Oct 14 '16 15:10 alexeyvasilyev

Thanks for sharing!

kewlbear avatar Nov 09 '16 23:11 kewlbear