[Building from source with bazel] Failure when linking libm-libraries during compilation of flatbuffers #73798
Labels
2.17
Issues related to 2.17 release
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
subtype: ubuntu/linux
Ubuntu/Linux Build/Installation Issues
type:build/install
Build and install issues
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.17
Custom code
No
OS platform and distribution
Linux Debian 5.10.216-1 x86_64
Mobile device
No response
Python version
3.12
Bazel version
7.3.0
GCC/compiler version
clang 17.0.2
CUDA/cuDNN version
CUDA 12 /cuDNN 8
GPU model and memory
NVIDIA A2
Current behavior?
I'm trying to build tensorflow from source with bazel for use in a C++ project. I'm working in a conda environment wit the specifics mentioned above and try to compile the libraries with the following command:
bazel build //tensorflow:libtensorflow_cc.so //tensorflow:libtensorflow_framework.so
Bazel fails with the follwing error message:
I tried to add the following lines to
.bazelrc
to explicitly link the locations of the libraries that were not found. That did not change the error.Any help on this issue is much appreciated.
Standalone code to reproduce the issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: