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

Problem Installing #1

Closed
oscartbeaumont opened this issue Jul 21, 2018 · 1 comment
Closed

Problem Installing #1

oscartbeaumont opened this issue Jul 21, 2018 · 1 comment

Comments

@oscartbeaumont
Copy link

oscartbeaumont commented Jul 21, 2018

Hello, I Am Trying To Install Your Package Using Go Get But I Am Getting Errors (Shown Below), Do You Know How I Can Fix Them. Thanks.

[REMOVED USER/DIR INFORMATION] $ go get github.com/alexrsagen/go-libxml
# pkg-config --cflags libxml-2.0
pkg-config: exec: "pkg-config": executable file not found in $PATH
# pkg-config --cflags libxml-2.0 libxml-2.0
pkg-config: exec: "pkg-config": executable file not found in $PATH

I Ran The Command Below To Install libxml2 Via Brew (I Am On Mac).

brew install libxml2

But After Doing That I Get Even More Errors Which Are Shown Below.

# pkg-config --cflags libxml-2.0
error $GOPATH: no library found in $GOPATH: libxml-2.0
error github.com: PKG_CONDIF_GITHUB not exported, skipping github.com lookup
error $PKG_CONFIG_PATH: open libxml-2.0.pc: no such file or directory
error <autogenerated>: no library found in $GOPATH: libxml-2.0
pkg-config: exit status 1
# pkg-config --cflags libxml-2.0 libxml-2.0
error $GOPATH: no library found in $GOPATH: libxml-2.0
error github.com: PKG_CONDIF_GITHUB not exported, skipping github.com lookup
error $PKG_CONFIG_PATH: open libxml-2.0.pc: no such file or directory
error <autogenerated>: no library found in $GOPATH: libxml-2.0
pkg-config: exit status 1
@oscartbeaumont
Copy link
Author

I Fixed It. The Solution Is In This Issue.

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