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 dependency (openssl-dev) #1

Open
lytex opened this issue Mar 13, 2021 · 0 comments
Open

Missing dependency (openssl-dev) #1

lytex opened this issue Mar 13, 2021 · 0 comments

Comments

@lytex
Copy link

lytex commented Mar 13, 2021

In Kubutnu 20.10, install fails with this error:

$ brew install askgit
.
.
.
==> make build
Last 15 lines from /home/julian/.cache/Homebrew/Logs/askgit/01.make:

make
build

go build -v -tags="sqlite_vtable,sqlite_json1,static,system_libgit2" askgit.go
github.com/augmentable-dev/askgit/pkg/gitlog
github.com/libgit2/git2go/v31
# pkg-config --cflags --static -- libgit2
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'libgit2', not found
pkg-config: exit status 1
github.com/augmentable-dev/askgit/pkg/ghqlite
make: *** [Makefile:7: build] Error 2

I have solved it by sudo apt install libssl-dev and then installing again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant