replicatedhq / replicatedhq/kots
error while loading shared libraries: libdevmapper.so.1.02.1
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 950
- Forks
- 98
- Avg merge
- 1d 36m
- Merged PRs (30d)
- 31
Description
I'm getting the following error after executing kubectl kots:
/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
I'm using Arch Linux, device-mapper-2.02.187-1 is installed.
➜ ldd $(which kubectl-kots)
linux-vdso.so.1 (0x00007ffe349a1000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f52f99be000)
libdevmapper.so.1.02.1 => not found
libc.so.6 => /usr/lib/libc.so.6 (0x00007f52f97f8000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f52f9a02000)
➜ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"archive", BuildDate:"2020-02-29T16:37:45Z", GoVersion:"go1.14", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.9-gke.24", GitCommit:"39e41a8d6b7221b901a95d3af358dea6994b4a40", GitTreeState:"clean", BuildDate:"2020-02-29T01:24:35Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}
➜ uname -a
Linux adir-pc 5.6.3-arch1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 +0000 x86_64 GNU/Linux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the kubectl kots invocation on Arch Linux and inspect /usr/local/bin/kubectl-kots with ldd, as shown in the report. Determine where the libdevmapper.so.1.02.1 dependency is introduced; done means kubectl kots loads successfully on the reported environment without the missing-library error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, kubernetes
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100