Missing symbol _utimensat in Cmake 2018.1
Answered
I just upgraded to CLion 2018.1 on OSX 10.12.6 and am getting the following error when CLion attempts to run it's CMake. My system version of cmake works just fine.
dyld: Symbol not found: _utimensat
Referenced from: /Applications/CLion.app/Contents/bin/cmake/bin/cmake (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
Please sign in to leave a comment.
Hi! Sorry for the inconvenience. Unfortunately, bundled CMake 3.10 is build for macOS 10.13 and incompatible with earlier versions. Will be fixed in one of the following 2018.1.x updates, please follow the related issue: https://youtrack.jetbrains.com/issue/CPP-12518 . The workaround is to download the distribution from https://cmake.org/download/ and select it in Preferences | Build, Execution, Deployment | Toolchains.