sameersbn / sameersbn/docker-gitlab
Why cannot open '/lib64/ld-linux-x86-64.so.2': No such file or directory
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
...
...
#0 3193.5 bin/install
#0 3193.6 mkdir -p /home/git/.ssh: OK
#0 3193.6 chmod 700 /home/git/.ssh: OK
#0 3193.7 GOBIN="/home/git/gitlab-shell/bin" go install -ldflags "-X main.Version=v14.14.0 -X main.BuildTime=20230117.133721" -tags "tracer_static tracer_static_jaeger continuous_profiler_stackdriver" -mod=mod ./cmd/...
#0 3193.7 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
#0 3193.7 make: *** [Makefile:57: bin/gitlab-shell] Error 255
Dockerfile:59
57 |
58 | COPY assets/build/ ${GITLAB_BUILD_DIR}/
59 | >>> RUN bash ${GITLAB_BUILD_DIR}/install.sh
60 |
61 | COPY assets/runtime/ ${GITLAB_RUNTIME_DIR}/
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 with Dockerfile line 59 and the referenced install.sh, then inspect Makefile:57 and the GOBIN go install command that triggers the qemu-x86_64 error. Done means the install.sh build completes successfully and produces bin/gitlab-shell without the missing /lib64/ld-linux-x86-64.so.2 failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, shell
- Domain
- build-system, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100