Open linrio opened 7 years ago
With referencing answer ,I fix this error by the following commands:
cp /usr/local/gcc-5.3.0/lib64/libstdc++.so.6.0.18 /usr/lib64/
ln -sf libstdc++.so.6.0.18 libstdc++.so.6
The end part of result is:
INFO: From Building src/main/java/com/google/devtools/build/lib/libruntime.jar (93 source files):
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
INFO: From Building src/main/java/com/google/devtools/build/lib/sandbox/libsandbox.jar (16 source files):
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
INFO: From Building src/main/java/com/google/devtools/build/lib/worker/libworker.jar (11 source files):
Note: src/main/java/com/google/devtools/build/lib/worker/WorkerSpawnStrategy.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
INFO: From Building src/main/java/com/google/devtools/build/lib/libbazel-main.jar (4 source files, 3 resources):
Note: src/main/java/com/google/devtools/build/lib/bazel/BazelMain.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Target //src:bazel up-to-date:
bazel-bin/src/bazel
INFO: Elapsed time: 89.520s, Critical Path: 84.99s
WARNING: /tmp/bazel_Cu2OI5UE/out/external/bazel_tools/WORKSPACE:1: Workspace name in /tmp/bazel_Cu2OI5UE/out/external/bazel_tools/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@bazel_tools); this will cause a build error in future versions.
Build successful! Binary is here: /home/llf/bazel/output/bazel
I want to install bazel by compiling source from bazel.
$cd bazel
, then I run$./compile.sh
. It occurs error:*OS:
Linux k20-1 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
*GCC version:
The compile error:
How to address this problem? Refence the error