mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
"Library not found error" with Go bindings #200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @addityasingh on GitHub (Oct 8, 2017).
While trying to use the Go package
cbrotli, I was getting error forFile not foundfor all the header files<brotli/encode.h>,<brotli/decode.h>. I fixed this by adding the relative path as below:But even after this I get ld: library not found for -lbrotlicommon error and have no clue how to fix this. Trying to run the
cbrotli_test.gothrows the same error as shown:@eustas commented on GitHub (Oct 11, 2017):
Going to dig into this problem soon. What build system do you use?
@eustas commented on GitHub (Oct 11, 2017):
This works for me:
After this include/library not found errors do not occur:
@addityasingh commented on GitHub (Oct 11, 2017):
I will give it a go. Thanks @eustas for the effort 👍
@addityasingh commented on GitHub (Oct 25, 2017):
@eustas Just as a side question, is there any existing usage/example of the
goimplementation somewhere. I tried below but to no avail:@eustas commented on GitHub (Nov 27, 2017):
I fear, I don't know any.
Going to investigate what is
godepsoon =)@eustas commented on GitHub (Nov 27, 2017):
Even if
godep savewould finish successfully, it seem that it wouldn't work anyways: https://github.com/tools/godep/issues/422@eustas commented on GitHub (Oct 24, 2018):
Merging with similar issue #585