You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@303b4a33c9cd:/go/libjq-go/example# CGO_ENABLED=1 CGO_CFLAGS="-I$(pwd)/libjq-buster/include" CGO_LDFLAGS="-L$(pwd)/libjq-buster/lib" go build -ldflags="-linkmode external -extldflags '-static' -s -w" example.go
# command-line-arguments
/usr/bin/ld: /go/libjq-go/example/libjq-buster/lib/libjq.a(util.o): in function `get_home':
util.c:(.text+0x2be): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Produced binary still works though. Should test it with library path expanding...
The text was updated successfully, but these errors were encountered:
Produced binary still works though. Should test it with library path expanding...
The text was updated successfully, but these errors were encountered: