Page 1 of 1

Link errors on lion?

PostPosted: Mon Jan 16, 2012 11:06 am
by onsi
Perhaps I'm missing something obvious. I've installed the latest CULA dense free and successfully compiled the basicUsage example. Running it, however, yields the following error:

dyld: Library not loaded: @rpath/libtlshook.dylib
Referenced from: /usr/local/cula/lib/libcudart.dylib
Reason: image not found
Trace/BPT trap: 5

My DYLD_LIBRARY_PATH is set correctly (it's finding libcudart.dybli above). I have a mac book pro with an NVIDIA GeForce 320M 256 MB running OS X 10.7.1. Is there something in addition that I need to install?

Thanks!

Onsi

Re: Link errors on lion?

PostPosted: Mon Jan 16, 2012 3:12 pm
by john
We'll start shipping that in R14 to avoid this. To fix for now, please install the CUDA 4.0 toolkit. You might also need to set DYLD_LIBRARY_PATH to have both /usr/local/cuda/lib and /usr/local/cula/lib.