This might be the first go package that I do `go get` and which requires 
native binaries:

$ go get -v go.opentelemetry.io/otel/exporters/stdout/stdouttrace
golang.org/x/sys/unix
# golang.org/x/sys/unix
/.../Go/pkg/mod/golang.org/x/sys@v0.0.0-20210423185535-09eb48e85fd7/unix/asm_linux_amd64.s:9:
 
#include: open /usr/lib/go-1.17/pkg/include/textflag.h: no such file or 
directory

I checked and found that I'm missing the 
whole /usr/lib/go-1.17/pkg/include/ directory.

How can I get them so that my `go get` can be successful?

Thanks

$ go version
go version go1.17.6 linux/amd64

$ lsb_release -a 
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux bullseye/sid
Release:   10.12
Codename:  buster

$ apt-cache policy golang-1.17-src
golang-1.17-src:
  Installed: 1.17.6-1~bpo11+1
  Candidate: 1.17.8-1~bpo11+1
  Version table:
     1.17.8-1~bpo11+1 100
        100 http://deb.debian.org/debian bullseye-backports/main amd64 
Packages
 *** 1.17.6-1~bpo11+1 100
        100 /var/lib/dpkg/status

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/fb6dfce0-98ef-4b9f-ab3b-d14055f39c53n%40googlegroups.com.

Reply via email to