# Getting error while using KOTS on AWS Ec2 machine

**URL:** <https://community.replicated.com/t/getting-error-while-using-kots-on-aws-ec2-machine/424>\
**Category:** Supporting your customers\
**Created:** [May 13, 2020, 4:00pm UTC](https://community.replicated.com/t/getting-error-while-using-kots-on-aws-ec2-machine/424 "2020-05-13T16:00:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chitender\_kumar](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@chitender\_kumar](https://community.replicated.com/u/chitender_kumar)\
**Post date:** [May 13, 2020, 4:00pm UTC](https://community.replicated.com/t/getting-error-while-using-kots-on-aws-ec2-machine/424/1 "2020-05-13T16:00:54Z")

</div>

Hi,

we trying to install the KOTS and deploy the product by using it.

we were able to install the KOTS by using the bash script. but when trying to deploy the product we are getting below error:

```auto
[ec2-user@ip-10-2-1-233 ~]$ kubectl kots install lite/development --license-file /tmp/license.yaml
/usr/local/bin/kubectl-kots: error while loading shared libraries: libdevmapper.so.1.02.1: cannot open shared object file: No such file or directory

```

any suggestion or guidance on this would be higly appreciated.

---

<div class="post-metadata">

**Author:** ![dmitriy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/dmitriy/32/16_2.png) [@dmitriy](https://community.replicated.com/u/dmitriy)\
**Post date:** [May 14, 2020, 1:37pm UTC](https://community.replicated.com/t/getting-error-while-using-kots-on-aws-ec2-machine/424/2 "2020-05-14T13:37:15Z")

</div>

That looks like libdevmapper is either not installed on the system or it’s installed with a different name. You may need to install it or link to it with a command like `ln -s /lib64/libdevmapper.so.1.02 /lib64/libdevmapper.so.1.02.1`

If you can provide some information about you system, we can give you more specific instructions.
