pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.18k stars 164 forks source link

docker complie failed #202

Open PerrywLiu opened 7 months ago

PerrywLiu commented 7 months ago

15.30 host link: "gcc" "-m64" "-o" "/ tmp/go-build4186320333/b001/exe/a.out" "-Wl, --export-dynamic-symbol=_cgo_panic" "-Wl, --export-dynamic-symbol=_cgo_topofstack" "-Wl,--export-dynamic- symbol=crosscall2" "-Wl, --compress-debug-sections=zlib" "/tmp/go-link-3243134539/go." "/ tmp/go-Link-3243134539/000000.0" "/ tmp/go-Link-3243134539/000001.0" " / tmp/go-link-3243134539/000002 •O" "/tmp/go-Link-3243134539/000003." "/tmp/go-Link-3243134539/000004.0" |"/tmp/go-ink-3243134539/000005.0" "I/tmp/go-Link-3243134539/000006.0"'"*/tmp/go-Link-3243134539/000007 .0" "/ tmp/ go-link-3243134539/000008.0" "/ tmp/go-link-3243134539/000009. 0" "/ tmp/go-link=3243134539/000010. 0" "/ tmp/go-link-3243134539/000011,0"' d"/tmp/goaLink=3243134539/000012: 0"g4"/ tmp/go-link-32431345 39/000013. 0" "/ tmp/go-link-3243134539/000014.0" "/tmp/go-link-3243134539/000015.0" "/ tmp/go-link-3243134539/000016.0" "/tmp/go-link-3243134539/000017•0" t"/ tmp/go-link-3243134539/000018.0" "/tmp/go-Link-3243134539/000019.o" /tmp/go-Link-3243134539/000020.o" /tmp/go-Link-3243134539/000021.0 "/tmp/go-Link-3243134539/000022.o"gl/tmp/go-Link-3243134539/000023.o" "/tmp/go-tink -3243134539/000024.0" "/ tmp/go-link-3243134539/000025. 0" "/ tmp/go-link-3243134539/000026. 0" "/tmp/go-link-3243134539/000027.0" "/tmp/go-Link-3243134539/000028.0" "/tmp/go-Link-3243134539/0 00029.0" "/tmp/go-link-3243134539/000030.o" "/tmp/go-link-3243134539/000031.o" "/tmp/go-Link-3243134539/900032.o" "/tmp/go-link-3243134539/000033.0" 1-02" 11-g" "-zmg" 1-02" 1lg" "-02" "-g " "-Ipthread" "-02" "-g" "-resolv" "-no-pie" "-static"

8 15.30 /usr/local/go/pkg/tool/Linux_amd64/link: running gcc failed: exit status 1

8 15.30 /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld:

cannot find -lzmq: No such file or directory