Bazel Run - Fatal error: 'zlib.h' file not found #1722
steniooliveira
started this conversation in
General
Replies: 2 comments 1 reply
-
In my case, I installed zlib and the error was resolved. sudo apt install zlib1g-dev See this PR #1558. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thx @yknishidate 😃 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm new here.
Trying to execute command bellow in a distro UBUNTU 20.04.
Command line:
$ bazel run //explorer -- ./explorer/testdata/print/format_only.carbon
And the return is this:
external/llvm-project/llvm/lib/Support/Compression.cpp:21:10: fatal error: 'zlib.h' file not found
#include <zlib.h>
^~~~~~~~
1 error generated.
Target //explorer:explorer failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 22.568s, Critical Path: 19.77s
INFO: 9 processes: 5 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
Any help for this case?
Thx!
Beta Was this translation helpful? Give feedback.
All reactions