Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LD_LIBRARY_PATH may be incorrect in Docker #92

Open
sampathweb opened this issue Apr 5, 2022 · 0 comments
Open

LD_LIBRARY_PATH may be incorrect in Docker #92

sampathweb opened this issue Apr 5, 2022 · 0 comments
Labels
sig build dockerfiles Relating to the TF SIG Build Dockerfiles

Comments

@sampathweb
Copy link
Contributor

Docker has env. variable LD_LIBRARY_PATH set but the path doesn't exist

tf-docker /tf/tensorflow > echo $LD_LIBRARY_PATH
/usr/local/nvidia/lib:/usr/local/nvidia/lib64

tf-docker /tf/tensorflow > ls /usr/local/
bin/       cuda-11.1/ etc/       include/   libexec/   sbin/      src/
cuda/      cuda-11.2/ games/     lib/       man/       share/

But this directory doesn't exist in the Docker Image. It doesn't cause any issue, but would be nice to fix it.
From what I read, "nvidia" -> "cuda" is the right path and it exists in the Docker

/usr/local/cuda/lib64 seems to have the right .so files.

Reference issues:

@sampathweb sampathweb added the sig build dockerfiles Relating to the TF SIG Build Dockerfiles label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig build dockerfiles Relating to the TF SIG Build Dockerfiles
Projects
None yet
Development

No branches or pull requests

2 participants