Linker error when tensorflow is being built with clang-17 inside anaconda environment #68246
Labels
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
TF 2.16
type:build/install
Build and install issues
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
tf 2.16
Custom code
No
OS platform and distribution
Ubuntu 22.04.4 LTS
Mobile device
No response
Python version
3.11
Bazel version
6.5.0
GCC/compiler version
clang 17.0.6
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I need to compile TensorFlow code using
clang-17
compiler provided by anaconda, i.e.clangxx_linux-64==17
.It looks the compiler is setup correctly:
However, when I try to compile, I am getting a linking error saying
ld.lld: error: cannot open /lib64/libc.so.6: No such file or directory
:How do I fix this?
Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: