Unsolved
1 Rookie
•
6 Posts
0
112
February 17th, 2026 04:20
cert-csi cgo error in executable binary version 1.9.0
The binary file downloaded https://github.com/dell/csm/releases/latest/download/cert-csi results in an error message as per below;
panic: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
goroutine 1 [running]:
eos2git.cec.lab.emc.com/CSM/cert-csi/pkg/store.NewSQLiteStore({0xc000447410, 0x10})
/home/runner/_work/cert-csi/cert-csi/pkg/store/sqlite.go:55 +0xd9
eos2git.cec.lab.emc.com/CSM/cert-csi/pkg/cmd.createSuiteRunner(0xc00067a840, {0xc000517440, 0x1, 0x1})
/home/runner/_work/cert-csi/cert-csi/pkg/cmd/testcmd.go:168 +0x313
eos2git.cec.lab.emc.com/CSM/cert-csi/pkg/cmd.GetTestCommand.getProvisioningCommand.func2(0xc00067a840)
/home/runner/_work/cert-csi/cert-csi/pkg/cmd/testcmd.go:680 +0x151
github.com/urfave/cli.HandleAction({0x22047a0?, 0x28271e0?}, 0xc?)
/home/runner/_work/cert-csi/cert-csi/vendor/github.com/urfave/cli/app.go:524 +0x9f
github.com/urfave/cli.Command.Run({{0x26df992, 0xc}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x2731ba0, 0x2e}, {0x0, ...}, ...}, ...)
/home/runner/_work/cert-csi/cert-csi/vendor/github.com/urfave/cli/command.go:175 +0x656
github.com/urfave/cli.(*App).RunAsSubcommand(0xc000582c40, 0xc00067a580)
/home/runner/_work/cert-csi/cert-csi/vendor/github.com/urfave/cli/app.go:405 +0xddb
github.com/urfave/cli.Command.startApp({{0x26cf209, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x26e595e, 0xf}, {0x0, ...}, ...}, ...)
/home/runner/_work/cert-csi/cert-csi/vendor/github.com/urfave/cli/command.go:380 +0xb38
github.com/urfave/cli.Command.Run({{0x26cf209, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x26e595e, 0xf}, {0x0, ...}, ...}, ...)
/home/runner/_work/cert-csi/cert-csi/vendor/github.com/urfave/cli/command.go:103 +0x785
github.com/urfave/cli.(*App).Run(0xc000582a80, {0xc000050090, 0x9, 0x9})
/home/runner/_work/cert-csi/cert-csi/vendor/github.com/urfave/cli/app.go:277 +0xb1b
main.main()
/home/runner/_work/cert-csi/cert-csi/cmd/cert-csi/main.go:96 +0xaa5
0 events found


dan.cohen
2 Intern
•
11 Posts
0
February 17th, 2026 16:30
@theocrithary the issues seems to be the go environment
i need a in got error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub : r/golang
Fixing “Binary was compiled with ‘CGO_ENABLED=0’” Error in Go (with sqlite3) | by Lawson O. Omoregbee | Medium
(edited)
theocrithary
1 Rookie
•
6 Posts
0
February 17th, 2026 23:18
@dan.cohen these articles all point to re-compile from source. I have managed to get it working by performing the following steps and re-compiling from source;
1. Install the required pre-req packages
(edited)