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
Import sdk "github.com/bitwarden/sdk-go" into project
go install project
Run binary
Result "error while loading shared libraries: bitwarden_c.dll: cannot open shared object file: No such file or directory"
Here's my go env:
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\CorbinPark\AppData\Local\go-build
set GOENV=C:\Users\CorbinPark\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\CorbinPark\go\pkg\mod
set GONOPROXY=gitlab.com/komodo-systems/*
set GONOSUMDB=gitlab.com/komodo-systems/*
set GOOS=windows
set GOPATH=C:\Users\CorbinPark\go
set GOPRIVATE=gitlab.com/komodo-systems/*
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.21.5
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\CorbinPark\Projects\sdk-go\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\CORBIN~1\AppData\Local\Temp\go-build2575380933=/tmp/go-build -gno-record-gcc-switches
Expected Result
Bitwarden sdk to import and be usable by my Go package
Actual Result
I recieve this error:
"error while loading shared libraries: bitwarden_c.dll: cannot open shared object file: No such file or directory"
Screenshots or Videos
No response
Additional Context
Apologies if I am missing something obvious, and thank you in advance.
Operating System
Windows
Operating System Version
Windows 11
Build Version
0.1.1
Issue Tracking Info
I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
The text was updated successfully, but these errors were encountered:
Steps To Reproduce
go get github.com/bitwarden/sdk-go
go install
projectHere's my
go env
:$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\CorbinPark\AppData\Local\go-build
set GOENV=C:\Users\CorbinPark\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\CorbinPark\go\pkg\mod
set GONOPROXY=gitlab.com/komodo-systems/*
set GONOSUMDB=gitlab.com/komodo-systems/*
set GOOS=windows
set GOPATH=C:\Users\CorbinPark\go
set GOPRIVATE=gitlab.com/komodo-systems/*
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.21.5
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\CorbinPark\Projects\sdk-go\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\CORBIN~1\AppData\Local\Temp\go-build2575380933=/tmp/go-build -gno-record-gcc-switches
Expected Result
Bitwarden sdk to import and be usable by my Go package
Actual Result
I recieve this error:
"error while loading shared libraries: bitwarden_c.dll: cannot open shared object file: No such file or directory"
Screenshots or Videos
No response
Additional Context
Apologies if I am missing something obvious, and thank you in advance.
Operating System
Windows
Operating System Version
Windows 11
Build Version
0.1.1
Issue Tracking Info
The text was updated successfully, but these errors were encountered: