Unable to build devserver 9.3.3.0 on Apple M2
sergeydrozd opened this issue · 5 comments
Hi, i am not able to start ibm-messaging/mq
docker image locally so i tried to build my own using make build-devserver
command. I downloaded 9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz
file and placed it to downloads
folder. Also i changed config.env file to have following line: MQ_VERSION ?= 9.3.3.0
. Build fails.
mq-container % make build-devserver
Build environment
arch_uname=arm64
arch_go=arm64
ARCH=arm64 (origin:file)
MQ_VERSION=9.3.3.0 (origin:file)
MQ_ARCHIVE=IBM_MQ_9.3.3_LINUX_ARM64_NOINST.tar.gz (origin:file)
MQ_ARCHIVE_DEV_ARCH=ARM64
MQ_ARCHIVE_DEV=9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz
MQ_IMAGE_DEVSERVER=ibm-mqadvanced-server-dev
MQ_IMAGE_ADVANCEDSERVER=ibm-mqadvanced-server
COMMAND=docker
Build environment - docker info
Command version: Docker version 24.0.5, build ced0996
docker info
Client:
Version: 24.0.5
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2-desktop.1
Path: /Users/SDROZD/.docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.20.2-desktop.1
Path: /Users/SDROZD/.docker/cli-plugins/docker-compose
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.20
Path: /Users/SDROZD/.docker/cli-plugins/docker-extension
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v0.1.0-beta.6
Path: /Users/SDROZD/.docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-sbom
scan: Docker Scan (Docker Inc.)
Version: v0.26.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-scan
scout: Command line tool for Docker Scout (Docker Inc.)
Version: 0.20.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-scout
Server:
Containers: 5
Running: 5
Paused: 0
Stopped: 0
Images: 8
Server Version: 24.0
Storage Driver: stargz
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
cgroupns
Kernel Version: 5.15.49-linuxkit-pr
Operating System: Docker Desktop
OSType: linux
Architecture: aarch64
CPUs: 6
Total Memory: 7.667GiB
Name: docker-desktop
ID: fe6cb5ef-1798-4707-a036-e42c213183e3
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
127.0.0.0/8
Live Restore Enabled: false
Product License: Moby
WARNING: daemon is not using the default seccomp profile
Build ibm-mqadvanced-server-dev:9.3.3.0-arm64
rm -f .dockerignore && echo ".git\ndownloads\n!downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz" > .dockerignore
docker build --tag ibm-mqadvanced-server-dev:9.3.3.0-arm64 --file Dockerfile-server --build-arg IMAGE_REVISION="19d50fc15ed427c2a60e9315399f9a0d91182791" --build-arg IMAGE_SOURCE="https://github.com/ibm-messaging/mq-container.git" --build-arg IMAGE_TAG="ibm-mqadvanced-server-dev:9.3.3.0-arm64" --build-arg MQ_ARCHIVE="downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz" --label version=9.3.3.0 --label name=ibm-mqadvanced-server-dev --label build-date=2023-08-31T09:23:10+0200 --label architecture="arm64" --label run="podman run -d -e LICENSE=accept ibm-mqadvanced-server-dev:9.3.3.0-arm64" --label vcs-ref=19d50fc15ed427c2a60e9315399f9a0d91182791 --label vcs-type=git --label vcs-url=https://github.com/ibm-messaging/mq-container.git --target mq-dev-server .
[+] Building 44.3s (18/42) docker:desktop-linux
=> [internal] load build definition from Dockerfile-server 0.0s
=> => transferring dockerfile: 8.68kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 172B 0.0s
=> [internal] load metadata for registry.access.redhat.com/ubi8/ubi-minimal:8.8-1037 0.4s
=> [internal] load metadata for registry.access.redhat.com/ubi8/go-toolset:1.19.10-10 0.4s
=> [internal] load build context 3.0s
=> => transferring context: 509.94MB 3.0s
=> [mq-redux 1/4] FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1037@sha256:8d43664c250c72d35af8498c7ff76a9f0d42f16b9b3b29f0caa747121778de0e 0.0s
=> => resolve registry.access.redhat.com/ubi8/ubi-minimal:8.8-1037@sha256:8d43664c250c72d35af8498c7ff76a9f0d42f16b9b3b29f0caa747121778de0e 0.0s
=> [builder 1/9] FROM registry.access.redhat.com/ubi8/go-toolset:1.19.10-10@sha256:2377bee97e9acfffa66a66fba87df001588576a32833b3f0ac065929da232b03 0.0s
=> => resolve registry.access.redhat.com/ubi8/go-toolset:1.19.10-10@sha256:2377bee97e9acfffa66a66fba87df001588576a32833b3f0ac065929da232b03 0.0s
=> CACHED [mq-redux 2/4] WORKDIR /tmp/mq 0.0s
=> CACHED [mq-redux 3/4] ADD downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz /opt/mqm-noinstall 0.0s
=> CACHED [builder 2/9] WORKDIR /opt/app-root/src/go/src/github.com/ibm-messaging/mq-container/ 0.0s
=> CACHED [builder 3/9] ADD downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz /opt/mqm 0.0s
=> CACHED [builder 4/9] COPY go.mod go.sum ./ 0.0s
=> CACHED [builder 5/9] COPY cmd/ ./cmd 0.0s
=> CACHED [builder 6/9] COPY internal/ ./internal 0.0s
=> CACHED [builder 7/9] COPY pkg/ ./pkg 0.0s
=> CACHED [builder 8/9] COPY vendor/ ./vendor 0.0s
=> CANCELED [mq-redux 4/4] RUN /opt/mqm-noinstall/bin/genmqpkg.sh -b /opt/mqm-redux 40.8s
=> ERROR [builder 9/9] RUN go build -ldflags "-X "main.ImageCreated=$(date --iso-8601=seconds)" -X "main.ImageRevision=19d50fc15ed427c2a60e9315399f9a0d91182791" -X "main.ImageSource=https://gith 40.8s
------
> [builder 9/9] RUN go build -ldflags "-X "main.ImageCreated=$(date --iso-8601=seconds)" -X "main.ImageRevision=19d50fc15ed427c2a60e9315399f9a0d91182791" -X "main.ImageSource=https://github.com/ibm-messaging/mq-container.git" -X "main.ImageTag=ibm-mqadvanced-server-dev:9.3.3.0-arm64"" ./cmd/runmqserver/ && go build ./cmd/chkmqready/ && go build ./cmd/chkmqhealthy/ && go build ./cmd/chkmqstarted/ && go build ./cmd/runmqdevserver/ && go test -v ./cmd/runmqdevserver/... && go test -v ./cmd/runmqserver/ && go test -v ./cmd/chkmqready/ && go test -v ./cmd/chkmqhealthy/ && go test -v ./cmd/chkmqstarted/ && go test -v ./pkg/... && go test -v ./internal/... && go vet ./cmd/... ./internal/...:
40.62 # github.com/ibm-messaging/mq-container/cmd/runmqserver
40.62 /usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
40.62 /usr/bin/ld: skipping incompatible /opt/mqm/lib64/libmqm_r.so when searching for -lmqm_r
40.62 /usr/bin/ld: cannot find -lmqm_r
40.62 collect2: error: ld returned 1 exit status
40.62
------
Dockerfile-server:42
--------------------
41 | COPY vendor/ ./vendor
42 | >>> RUN go build -ldflags "-X \"main.ImageCreated=$(date --iso-8601=seconds)\" -X \"main.ImageRevision=$IMAGE_REVISION\" -X \"main.ImageSource=$IMAGE_SOURCE\" -X \"main.ImageTag=$IMAGE_TAG\"" ./cmd/runmqserver/ \
43 | >>> && go build ./cmd/chkmqready/ \
44 | >>> && go build ./cmd/chkmqhealthy/ \
45 | >>> && go build ./cmd/chkmqstarted/ \
46 | >>> && go build ./cmd/runmqdevserver/ \
47 | >>> && go test -v ./cmd/runmqdevserver/... \
48 | >>> && go test -v ./cmd/runmqserver/ \
49 | >>> && go test -v ./cmd/chkmqready/ \
50 | >>> && go test -v ./cmd/chkmqhealthy/ \
51 | >>> && go test -v ./cmd/chkmqstarted/ \
52 | >>> && go test -v ./pkg/... \
53 | >>> && go test -v ./internal/... \
54 | >>> && go vet ./cmd/... ./internal/...
55 |
--------------------
ERROR: failed to solve: process "/bin/sh -c go build -ldflags \"-X \\\"main.ImageCreated=$(date --iso-8601=seconds)\\\" -X \\\"main.ImageRevision=$IMAGE_REVISION\\\" -X \\\"main.ImageSource=$IMAGE_SOURCE\\\" -X \\\"main.ImageTag=$IMAGE_TAG\\\"\" ./cmd/runmqserver/ && go build ./cmd/chkmqready/ && go build ./cmd/chkmqhealthy/ && go build ./cmd/chkmqstarted/ && go build ./cmd/runmqdevserver/ && go test -v ./cmd/runmqdevserver/... && go test -v ./cmd/runmqserver/ && go test -v ./cmd/chkmqready/ && go test -v ./cmd/chkmqhealthy/ && go test -v ./cmd/chkmqstarted/ && go test -v ./pkg/... && go test -v ./internal/... && go vet ./cmd/... ./internal/..." did not complete successfully: exit code: 2
make: *** [build-devserver] Error 1
In case when i add ARCH ?= amd64
to config.env file, i am able to build image (also with some error), but i am not able to start it anyway.
Build log:
mq-container % make build-devserver
Build environment
arch_uname=arm64
arch_go=arm64
ARCH=amd64 (origin:file)
MQ_VERSION=9.3.3.0 (origin:file)
MQ_ARCHIVE=IBM_MQ_9.3.3_LINUX_X86-64_NOINST.tar.gz (origin:file)
MQ_ARCHIVE_DEV_ARCH=X64
MQ_ARCHIVE_DEV=9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz
MQ_IMAGE_DEVSERVER=ibm-mqadvanced-server-dev
MQ_IMAGE_ADVANCEDSERVER=ibm-mqadvanced-server
COMMAND=docker
Build environment - docker info
Command version: Docker version 24.0.5, build ced0996
docker info
Client:
Version: 24.0.5
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2-desktop.1
Path: /Users/SDROZD/.docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.20.2-desktop.1
Path: /Users/SDROZD/.docker/cli-plugins/docker-compose
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.20
Path: /Users/SDROZD/.docker/cli-plugins/docker-extension
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v0.1.0-beta.6
Path: /Users/SDROZD/.docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-sbom
scan: Docker Scan (Docker Inc.)
Version: v0.26.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-scan
scout: Command line tool for Docker Scout (Docker Inc.)
Version: 0.20.0
Path: /Users/SDROZD/.docker/cli-plugins/docker-scout
Server:
Containers: 4
Running: 2
Paused: 0
Stopped: 2
Images: 8
Server Version: 24.0
Storage Driver: stargz
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
cgroupns
Kernel Version: 5.15.49-linuxkit-pr
Operating System: Docker Desktop
OSType: linux
Architecture: aarch64
CPUs: 6
Total Memory: 7.667GiB
Name: docker-desktop
ID: fe6cb5ef-1798-4707-a036-e42c213183e3
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
127.0.0.0/8
Live Restore Enabled: false
Product License: Moby
WARNING: daemon is not using the default seccomp profile
Build ibm-mqadvanced-server-dev:9.3.3.0-amd64
rm -f .dockerignore && echo ".git\ndownloads\n!downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz" > .dockerignore
docker build --tag ibm-mqadvanced-server-dev:9.3.3.0-amd64 --file Dockerfile-server --build-arg IMAGE_REVISION="19d50fc15ed427c2a60e9315399f9a0d91182791" --build-arg IMAGE_SOURCE="https://github.com/ibm-messaging/mq-container.git" --build-arg IMAGE_TAG="ibm-mqadvanced-server-dev:9.3.3.0-amd64" --build-arg MQ_ARCHIVE="downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz" --label version=9.3.3.0 --label name=ibm-mqadvanced-server-dev --label build-date=2023-08-31T11:09:27+0200 --label architecture="amd64" --label run="podman run -d -e LICENSE=accept ibm-mqadvanced-server-dev:9.3.3.0-amd64" --label vcs-ref=19d50fc15ed427c2a60e9315399f9a0d91182791 --label vcs-type=git --label vcs-url=https://github.com/ibm-messaging/mq-container.git --platform=linux/amd64 --target mq-dev-server .
[+] Building 3.6s (43/43) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile-server 0.0s
=> => transferring dockerfile: 8.68kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 170B 0.0s
=> [internal] load metadata for registry.access.redhat.com/ubi8/ubi-minimal:8.8-1037 0.4s
=> [internal] load metadata for registry.access.redhat.com/ubi8/go-toolset:1.19.10-10 0.4s
=> [internal] load build context 3.0s
=> => transferring context: 589.19MB 3.0s
=> [builder 1/9] FROM registry.access.redhat.com/ubi8/go-toolset:1.19.10-10@sha256:2377bee97e9acfffa66a66fba87df001588576a32833b3f0ac065929da232b03 0.0s
=> => resolve registry.access.redhat.com/ubi8/go-toolset:1.19.10-10@sha256:2377bee97e9acfffa66a66fba87df001588576a32833b3f0ac065929da232b03 0.0s
=> [mq-redux 1/4] FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1037@sha256:8d43664c250c72d35af8498c7ff76a9f0d42f16b9b3b29f0caa747121778de0e 0.0s
=> => resolve registry.access.redhat.com/ubi8/ubi-minimal:8.8-1037@sha256:8d43664c250c72d35af8498c7ff76a9f0d42f16b9b3b29f0caa747121778de0e 0.0s
=> CACHED [mq-redux 2/4] WORKDIR /tmp/mq 0.0s
=> CACHED [mq-redux 3/4] ADD downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz /opt/mqm-noinstall 0.0s
=> CACHED [mq-redux 4/4] RUN /opt/mqm-noinstall/bin/genmqpkg.sh -b /opt/mqm-redux 0.0s
=> CACHED [mq-server 2/12] COPY --from=mq-redux /opt/mqm-redux/ /opt/mqm/ 0.0s
=> CACHED [mq-server 3/12] COPY setup-image.sh /usr/local/bin/ 0.0s
=> CACHED [mq-server 4/12] COPY install-mq-server-prereqs.sh /usr/local/bin/ 0.0s
=> CACHED [mq-server 5/12] RUN env && chmod u+x /usr/local/bin/install-*.sh && chmod u+x /usr/local/bin/setup-image.sh && install-mq-server-prereqs.sh && setup-image.sh && /opt/mqm/bin 0.0s
=> CACHED [builder 2/9] WORKDIR /opt/app-root/src/go/src/github.com/ibm-messaging/mq-container/ 0.0s
=> CACHED [builder 3/9] ADD downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz /opt/mqm 0.0s
=> CACHED [builder 4/9] COPY go.mod go.sum ./ 0.0s
=> CACHED [builder 5/9] COPY cmd/ ./cmd 0.0s
=> CACHED [builder 6/9] COPY internal/ ./internal 0.0s
=> CACHED [builder 7/9] COPY pkg/ ./pkg 0.0s
=> CACHED [builder 8/9] COPY vendor/ ./vendor 0.0s
=> CACHED [builder 9/9] RUN go build -ldflags "-X "main.ImageCreated=$(date --iso-8601=seconds)" -X "main.ImageRevision=19d50fc15ed427c2a60e9315399f9a0d91182791" -X "main.ImageSource=https://gith 0.0s
=> CACHED [mq-server 6/12] COPY --from=builder /opt/app-root/src/go/src/github.com/ibm-messaging/mq-container/runmqserver /usr/local/bin/ 0.0s
=> CACHED [mq-server 7/12] COPY --from=builder /opt/app-root/src/go/src/github.com/ibm-messaging/mq-container/chkmq* /usr/local/bin/ 0.0s
=> CACHED [mq-server 8/12] COPY NOTICES.txt /opt/mqm/licenses/notices-container.txt 0.0s
=> CACHED [mq-server 9/12] COPY ha/native-ha.ini.tpl /etc/mqm/native-ha.ini.tpl 0.0s
=> CACHED [mq-server 10/12] COPY web /etc/mqm/web 0.0s
=> CACHED [mq-server 11/12] COPY etc/mqm/*.tpl /etc/mqm/ 0.0s
=> CACHED [mq-server 12/12] RUN chmod ug+x /usr/local/bin/runmqserver && chown 1001:root /usr/local/bin/*mq* && chmod ug+x /usr/local/bin/chkmq* && chown -R 1001:root /etc/mqm/* && instal 0.0s
=> CACHED [cbuilder 1/4] RUN yum --assumeyes --disableplugin=subscription-manager install apr-devel apr-util-openssl apr-util-devel 0.0s
=> CACHED [cbuilder 2/4] COPY authservice/ /opt/app-root/src/authservice/ 0.0s
=> CACHED [cbuilder 3/4] WORKDIR /opt/app-root/src/authservice/mqhtpass 0.0s
=> CACHED [cbuilder 4/4] RUN make all 0.0s
=> CACHED [mq-dev-server 1/9] COPY --from=cbuilder /opt/app-root/src/authservice/mqhtpass/build/mqhtpass.so /opt/mqm/lib64/ 0.0s
=> CACHED [mq-dev-server 2/9] COPY etc/mqm/*.ini /etc/mqm/ 0.0s
=> CACHED [mq-dev-server 3/9] COPY etc/mqm/mq.htpasswd /etc/mqm/ 0.0s
=> CACHED [mq-dev-server 4/9] COPY incubating/mqadvanced-server-dev/install-extra-packages.sh /usr/local/bin/ 0.0s
=> CACHED [mq-dev-server 5/9] RUN chmod u+x /usr/local/bin/install-extra-packages.sh && sleep 1 && install-extra-packages.sh 0.0s
=> CACHED [mq-dev-server 6/9] COPY --from=builder /opt/app-root/src/go/src/github.com/ibm-messaging/mq-container/runmqdevserver /usr/local/bin/ 0.0s
=> CACHED [mq-dev-server 7/9] COPY incubating/mqadvanced-server-dev/*.tpl /etc/mqm/ 0.0s
=> CACHED [mq-dev-server 8/9] COPY incubating/mqadvanced-server-dev/web /etc/mqm/web 0.0s
=> CACHED [mq-dev-server 9/9] RUN chown -R 1001:root /etc/mqm/* && chmod -R g+w /etc/mqm/web && chmod +x /usr/local/bin/runmq* && chmod 0660 /etc/mqm/mq.htpasswd && install --directory -- 0.0s
=> ERROR exporting to image 0.0s
=> => exporting layers 0.0s
=> => exporting manifest sha256:9336df88739a296406605ec80e611a3e51b10c4d00c6481441f4c409d1ce3be2 0.0s
=> => exporting config sha256:45bc5b1c04eced5095bd678721dde556c5ec62b863850318602042fd465df1af 0.0s
=> => exporting attestation manifest sha256:6d60d071cc253183f01df4c410f67ab6393937a242c34ad945715d2546a05694 0.0s
=> => exporting manifest list sha256:23b9a8776ddf41bad47138923a0b9cbbcdad98b260bd3b22a4b1016d5eb9255d 0.0s
=> => naming to docker.io/library/ibm-mqadvanced-server-dev:9.3.3.0-amd64 0.0s
=> => unpacking to docker.io/library/ibm-mqadvanced-server-dev:9.3.3.0-amd64 0.0s
------
> exporting to image:
------
ERROR: failed to solve: no match for platform in manifest sha256:23b9a8776ddf41bad47138923a0b9cbbcdad98b260bd3b22a4b1016d5eb9255d: not found
make: *** [build-devserver] Error 1
The second way you've tried is failing to find the amd64 build, which you haven't downloaded, and wouldn't work anyway. The first way you tried looked right. In the first way, it's failing to file some MQ libraries, so I think we need to confirm that the download isn't corrupted somehow. Can you confirm that lib64/libmqm_r.so
is present in 9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz
?
Hi Arthur,
It looks like file is inside.
% tar -ztvf ./mq-container/downloads/9.3.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxARM64.tar.gz '*/libmqm_r.so'
-r-xr-xr-x 0 0 0 14312 Jun 27 18:15 lib64/libmqm_r.so
Hi @arthurbarr , any news about that issue?
Hi, sorry for the delay. Looking again at the output, it appears that you're getting the amd64 version of the go-toolset
image, and it's failing to build. i.e. the arm64 version of that library is available, but the amd64 compiler can't use it. What is the command you're using to build? The other thing I wonder, is if you've somehow got a Docker VM which is actually amd64, in which case you might need to explicitly specify to use arm64.
Hi @arthurbarr , thank you for pointing it out to me. By forcing docker to use arm64 with DOCKER_DEFAULT_PLATFORM=linux/arm64
i was able to build a devserver image.