{"action":"opened","issue":{"url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/37","labels_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/37/comments","events_url":"https://api.github.com/repos/NVIDIA/nvidia-docker/issues/37/events","html_url":"https://github.com/NVIDIA/nvidia-docker/issues/37","id":127911294,"number":37,"title":"libcuda.so can not be found in /usr/local/cuda/lib64 when building mxnet in nvidia/cuda docker","user":{"login":"pimpim","id":84399,"avatar_url":"https://avatars.githubusercontent.com/u/84399?v=3","gravatar_id":"","url":"https://api.github.com/users/pimpim","html_url":"https://github.com/pimpim","followers_url":"https://api.github.com/users/pimpim/followers","following_url":"https://api.github.com/users/pimpim/following{/other_user}","gists_url":"https://api.github.com/users/pimpim/gists{/gist_id}","starred_url":"https://api.github.com/users/pimpim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimpim/subscriptions","organizations_url":"https://api.github.com/users/pimpim/orgs","repos_url":"https://api.github.com/users/pimpim/repos","events_url":"https://api.github.com/users/pimpim/events{/privacy}","received_events_url":"https://api.github.com/users/pimpim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-21T12:11:59Z","updated_at":"2016-01-21T12:11:59Z","closed_at":null,"body":"I am trying to make a Dockerfile that compiles mxnet using nvidia-docker, based on the nvidia/cuda image. mxnet uses variable \r\n\r\nUSE_CUDA_PATH \r\n\r\nin its make script to set the location of the cuda driver. It seems to ignore LD_LIBRARY_PATH\r\nUsually you would set this to be /usr/local/cuda/lib64/ the libcudnn.so library can indeed be found there, for example.\r\n\r\nIn the nvidia/cuda Docker image however there is no libcuda.so in /usr/local/cuda/lib64, instead it seems to be located in /usr/local/nvidia/lib64/\r\n\r\nFunnily enough, when I ln -s this libcuda.so.1 to /usr/local/cuda/lib64 it does build from within docker run, but gives me a -lcuda not found error when performing the same command in \"nvidia-docker build ...\"\r\n\r\nIs there a way to get libcuda.so in the /usr/local/cuda/lib64 directory? "}}