[CMake] cmake.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
Brad King
brad.king at kitware.com
Wed Jun 13 08:42:50 EDT 2018
On 06/13/2018 04:22 AM, Gerhard Olsson wrote:
> The build works on my PC, but not on the Jenkins server running Windows
> Server 2012R2: cmake.exe: error while loading shared libraries: ?: cannot
> open shared object file: No such file or directory
>
> Any steps required to get a binary that runs on the server too?
Likely you built against a MSVC C run time library that is not installed
on the server. You'd need to install the corresponding MSVC redist package
on that server, or build a CMake that is statically linked to the runtime.
Or, you could try a nightly binary that is already built that way:
https://cmake.org/files/dev/?C=M;O=D
-Brad
More information about the CMake
mailing list