-
Notifications
You must be signed in to change notification settings - Fork 94
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
identifier "_Ctype_struct__xmlDoc" may conflict with identifiers generated by cgo #100
Comments
See Pull Request #97 |
Hello, I have a same bug form linux: go version go1.13.1 linux/amd64 display command: github.com/moovweb/gokogiri/xml./document.go:330:19: identifier "_Ctype_struct__xmlDoc" may conflict with identifiers generated by cgo |
temprcorrected
|
I have the same problem when compile it |
I'm trying to install gokogiri on a macOS 10.14.4 (Mojave) and Go 1.12.3. I've installed libxml2 using brew. Installing gokogiri with:
LDFLAGS="-L/usr/local/opt/libxml2/lib" CPPFLAGS="-I/usr/local/opt/libxml2/include" PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig" go get github.com/moovweb/gokogiri
Outputs the error:
How may I compile gokogiri?
The text was updated successfully, but these errors were encountered: