#16 Can't load CUDA driver


Here is what I have while running CUDA-Z (v0.7.x). I tried with older version (0.6.x) and got similar error message. CUDA-Z does not start in any case.

CUDA-Z 0.7.181 Container
Starting CUDA-Z...
CUDA-Z Started!
cat: /etc/ld.do.conf: No such file or directory
cat: /etc/ld.do.conf.d//*: No such file or directory
Can't load CUDA driver.
CUDA Present: 0

My nvidia drivers are up-to-date and used; cuda is correctly installed as I'm coding, building and running my own cuda codes in addition to the samples' ones provided with the CUDA "package" with no issue at all.

My system is Fedora 18 in 64-bits (3.11.4-101)
CUDA release 5.5, V5.5.0
Nvidia driver Driver Version: 319.60

All my system is up-to-date and run smoothly. So I do not get why CUDA-Z is not working. By the way is the hell is /etc/ld.do.conf should not be /etc/ld.so.conf ?

Thanks for any suggestions/help/thoughts


  • Andriy Golovnya

    Andriy Golovnya - 2013-11-01

    It's a typo in code. Thanks for reporting it. I'll try to fix it soon.

    The reason cuda-z doesn't start is it can't find libcuda.so. The .so is normally located in /lib but some versions of installers put one in some subfolders, etc.. cuda-z tries to locate it, but there is a typo in code.

  • Anonymous - 2013-11-01

    all right. By adding an alias into /usr/lib and /usr/lib64 of libcuda.so (respectivelly in 32 and 64bits) I fixed the issue. Maybe you guys should use something like 'locate' and then not assume where the lib is located as it might be in a different place from one distro to another and from one package to another (ie., using repositories against using nvidia package etc.).

    Thanks for noting me about the lib that CUDA-Z was looking for.

  • Andriy Golovnya

    Andriy Golovnya - 2013-11-01
    • status: unread --> accepted
    • assigned_to: Andriy Golovnya
  • Andriy Golovnya

    Andriy Golovnya - 2013-11-01

    I want to prepare beta version of CUDA-Z with fixed behavior in regards to /etc/ld.so.conf. Would you like to test it in your original setup (without extra links)?

  • Andriy Golovnya

    Andriy Golovnya - 2013-11-01
    • status: accepted --> open-fixed
  • Andriy Golovnya

    Andriy Golovnya - 2013-11-29
    • status: open-fixed --> closed-fixed
  • Anonymous - 2014-11-28

    Problem remains with current version and beta also.
    Now using debian sid it can't find libcuda.so that is at

  • Andriy Golovnya

    Andriy Golovnya - 2014-11-28

    Please report NVIDIA driver you use too.
    Can you post what included in /etc/ld.do.conf and /etc/ld.do.conf.d/*



Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks