Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing bitwarden_c.dll #988

Open
1 task done
Nibroc00 opened this issue Aug 21, 2024 · 1 comment
Open
1 task done

Missing bitwarden_c.dll #988

Nibroc00 opened this issue Aug 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Nibroc00
Copy link

Steps To Reproduce

  1. go get github.com/bitwarden/sdk-go
  2. Import sdk "github.com/bitwarden/sdk-go" into project
  3. go install project
  4. Run binary
  5. 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.
@Nibroc00 Nibroc00 added the bug Something isn't working label Aug 21, 2024
@Nibroc00
Copy link
Author

Side note the only thing I can find similar to the missing file is:

Yet from what I can find the sdk looks for the wrong name:
https://github.com/search?q=repo%3Abitwarden%2Fsdk%20.dll&type=code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant