Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

LD_LIBRARY_PATH may be incorrect in Docker

Open
#92 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, shell

Research direction

Inspect how LD_LIBRARY_PATH is set in the Docker image and compare the configured /usr/local/nvidia/lib and /usr/local/nvidia/lib64 paths with the existing /usr/local/cuda/lib64 directory. Reproduce the environment with tf-docker, update the path if appropriate, and verify that the configured directories exist.

Written by the indexing model from the issue text.

Description

sig build dockerfiles

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:

Dominant language
Shell
Stars
311
Forks
139
Avg merge
1h 28m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tensorflow/build

All issues in tensorflow/build

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.