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
When I try to compile cri-o and podman as statically linked binaries, I get the following warnings. Is there a way to avoid using dlopen or disable it?
root@syx:~/go/cri-o# make BUILDTAGS="osusergo netgo exclude_graphdriver_devicemapper"
make -C pinns
make[1]: Entering directory '/root/go/cri-o/pinns'
make[1]: Nothing to be donefor'all'.
make[1]: Leaving directory '/root/go/cri-o/pinns'
root@syx:~/go/cri-o# make clean
rm -f "/root/go/.gopathok"
rm -rf _output
rm -f docs/*.5 docs/*.8
rm -fr test/testdata/redis-image
find . -name \*~ -delete
find . -name \#\* -delete
rm -rf bin/
make -C pinns clean
make[1]: Entering directory '/root/go/cri-o/pinns'
rm -f src/sysctl.o src/pinns.o ../bin/pinns
make[1]: Leaving directory '/root/go/cri-o/pinns'
rm -f test/copyimg/copyimg
rm -f test/checkseccomp/checkseccomp
rm -f test/checkcriu/checkcriu
rm -rf /root/go/cri-o/build/bin
root@syx:~/go/cri-o# make BUILDTAGS="osusergo netgo exclude_graphdriver_devicemapper"if [ !-d"/root/go" ];then mkdir -p /root/go;fi
touch "/root/go/.gopathok"
go build -trimpath -ldflags '-s -w -X github.com/cri-o/cri-o/internal/pkg/criocli.DefaultsPath="" -X github.com/cri-o/cri-o/internal/version.buildDate='2024-03-27T08:06:09Z' -linkmode external -extldflags -static' -tags "osusergo netgo exclude_graphdriver_devicemapper" -o bin/crio github.com/cri-o/cri-o/cmd/crio
# github.com/cri-o/cri-o/cmd/crio
/usr/bin/ld: /tmp/go-link-4099155275/000038.o: infunction`New':
/_/github.com/miekg/[email protected]/root/go/cri-o/vendor/github.com/miekg/pkcs11/pkcs11.go:77: warning: Using 'dlopen'in statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
go build -trimpath -ldflags '-s -w -X github.com/cri-o/cri-o/internal/pkg/criocli.DefaultsPath="" -X github.com/cri-o/cri-o/internal/version.buildDate='2024-03-27T08:06:17Z' -linkmode external -extldflags -static' -tags "osusergo netgo exclude_graphdriver_devicemapper" -o bin/crio-status github.com/cri-o/cri-o/cmd/crio-status
# github.com/cri-o/cri-o/cmd/crio-status
/usr/bin/ld: /tmp/go-link-158303994/000035.o: infunction`New':
/_/github.com/miekg/[email protected]/root/go/cri-o/vendor/github.com/miekg/pkcs11/pkcs11.go:77: warning: Using 'dlopen'in statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
The text was updated successfully, but these errors were encountered:
When I try to compile cri-o and podman as statically linked binaries, I get the following warnings. Is there a way to avoid using dlopen or disable it?
The text was updated successfully, but these errors were encountered: