# Revision history [back]

Solved. The only thing I did after posting the above (ad after a weekend away from it) was to search and locate all the libraries related to CUDA.

On my 64bits system and OS (linux ubuntu 13.04) they are in

/usr/local/cuda/lib64


So appending the above line to

/etc/ld.so.conf


followed by

sudo ldconfig


did the trick. Simply had omitted this (it actually wasn't explicit in the installation guide I had followed). Now CPU examples I could compile can be executed.