rvolosatovs / docker-protobuf

An all-inclusive protoc Docker image

Home Page:https://hub.docker.com/r/rvolosatovs/protoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dart plugin fails to execute

rvolosatovs opened this issue · comments

#311 0.755 qemu-aarch64: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory
#311 0.765 --dart_out: protoc-gen-dart: Plugin failed with status code 255.

from https://github.com/rvolosatovs/docker-protobuf/runs/6016037841

Probably should either:
a. get Alpine aarch ld.so from somewhere
b. patchelf to link to a different one?

on amd64:

/ # ldd /usr/bin/protoc-gen-dart
	/lib64/ld-linux-x86-64.so.2 (0x7f3c36623000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f3c36623000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f3c36623000)
	libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f3c36623000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f3c36623000)
	ld-linux-x86-64.so.2 => /lib/ld-linux-x86-64.so.2 (0x7f3c35f65000)
Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37
Error relocating /usr/bin/protoc-gen-dart: __sbrk: symbol not found