autumnai/leaf-examples

libcudnn missing

Opened this issue · 4 comments

Following install instructions and resulting with libcudnn missing on el capitan.

Could you show me the error? Do you have libcudnn installed and which instructions did you follow?

Having same issue on Yosimite. Can't report full error at this time, but will if it persists.

I spent some time learning more about dynamic linking and am now working on writing a small guide on how to correctly install cudnn so it can be found by the linker at build time.

If you have cudnn installed you should be able to compile it with

CUDNN_LIB_DIR=/path/to/cudnn/lib cargo build

alternatively you can also create a symlink in your default lib path:

sudo ln -s /path/to/cudnn/libcudnn.so /usr/lib/libcudnn.so

Cross-post from autumnai/leaf#105

This Stack Overflow answer fixed that problem for me.

export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/