Getting error while using KOTS on AWS Ec2 machine


#1

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:

[[email protected] ~]$ 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.


#2

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.