Build error: libtinfo.so.5 not found #42
Answered
by
stephane-caron
stephane-caron
asked this question in
Troubleshooting
-
I'm getting the following error when running $ make build
bazel build --config=pi64 //agents/pink_balancer
INFO: Analyzed target //agents/pink_balancer:pink_balancer (77 packages loaded, 6728 targets configured).
INFO: Found 1 target...
ERROR: .cache/bazel/_bazel_user/1016d229737bb4698baa4966ab02a8b6/external/vulp/utils/BUILD:15:11: Compiling utils/handle_interrupts.cpp failed: (Exit 127): clang-clang failed: error executing command (from target @vulp//utils:handle_interrupts) external/rpi_bazel/tools/cc_toolchain/wrapper/clang-clang -MD -MF bazel-out/aarch64-opt/bin/external/vulp/utils/_objs/handle_interrupts/handle_interrupts.d ... (remaining 38 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/org_llvm_clang/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Target //agents/pink_balancer:pink_balancer failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.922s, Critical Path: 0.97s
INFO: 84 processes: 84 internal.
FAILED: Build did NOT complete successfully
make: *** [Makefile:32: build] Error 1 Emphasis on:
What should I do? |
Beta Was this translation helpful? Give feedback.
Answered by
stephane-caron
May 17, 2023
Replies: 1 comment
-
You should install $ sudo apt install libtinfo5 This won't work out of the box because the default version installed with the OS is |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stephane-caron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should install
libtinfo5
, for instance on Ubuntu 20.04:$ sudo apt install libtinfo5
This won't work out of the box because the default version installed with the OS is
libtinfo6
, so we have to install the extra dependency manually here.