I have a go binary that calls C code (with cgo). It is a little test, and 
main calls google.Init() and calls some C function that ends up opening a 
local file.

I get an error like:
WARNING: Logging before InitGoogle() is written to STDERR
E0921 15:16:46.570978  184662 extractor.cc:102] 
generic::failed_precondition: FileFactory 'local_file' not found. The 
application has not been linked against the '//file/localfile' library or 
InitGoogle() has not been called yet.

The C library I am linking against is compiled with deps = [ ... , 
"//file/localfile",...].

Is there something obvious I am missing? Is there a go equivalent of 
localfile to directly link to my binary?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to