Skip to content

Instantly share code, notes, and snippets.

@jordanwesthoff
Created October 8, 2014 19:24
Show Gist options
  • Save jordanwesthoff/2621a09679174dc5fdfc to your computer and use it in GitHub Desktop.
Save jordanwesthoff/2621a09679174dc5fdfc to your computer and use it in GitHub Desktop.
Fixing UltraGrid libcudart.so.6: Cannot open shared directory problem.
#!/bin/bash
#
# This is a quick and simple way to bind to the correct version of CUDA to the operating libraries in Linux.
# Very common issue [last tested, Ubuntu 14.04 LTS] after installing CUDA and STITOLA UltraGrid - also hard to google.
echo 'MODIFYING PATH TO MAKE CUDA WORK'
sudo ldconfig /usr/local/cuda/lib64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment