# cmake: error while loading shared libraries: libcom\_err.so.3

**URL:** https://discourse.cmake.org/t/cmake-error-while-loading-shared-libraries-libcom-err-so-3/795
**Category:** Usage
**Created:** [March 12, 2020, 5:57am UTC](https://discourse.cmake.org/t/cmake-error-while-loading-shared-libraries-libcom-err-so-3/795 "2020-03-12T05:57:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Yadav\_Rashmitha](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/y/f1d935/32.png) [@Yadav\_Rashmitha](https://discourse.cmake.org/u/Yadav_Rashmitha)
#### Post date: [March 12, 2020, 5:57am UTC](https://discourse.cmake.org/t/cmake-error-while-loading-shared-libraries-libcom-err-so-3/795/1 "2020-03-12T05:57:15Z")

</div>

Hi all,

I am getting cmake error when executing cmake --version. I have attached the screenshot of the the error message. I request you let me know the fix for this error.

Thanks & Regards,

Rashmitha

 ![cmake_error.JPG](https://discourse.cmake.org/uploads/default/original/1X/da0ecaeea7f31e51c6365b2e0c66f331d43c33b7.jpeg)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 13, 2020, 12:59pm UTC](https://discourse.cmake.org/t/cmake-error-while-loading-shared-libraries-libcom-err-so-3/795/2 "2020-03-13T12:59:07Z")

</div>

How did you obtain the CMake you’re using? What environment is this? WSL2? MinGW?
