dlib icon indicating copy to clipboard operation
dlib copied to clipboard

libcudnn.so: error adding symbols: File in wrong format dlib

Open arasharchor opened this issue 9 years ago • 3 comments

I just wanted to install Dlib on my Jetson TX1 and got the following error:

[ 99%] Linking CXX shared library libdlib.so /usr/local/cuda-8.0/lib64/libcudnn.so: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status dlib/CMakeFiles/dlib_shared.dir/build.make:1663: recipe for target 'dlib/libdlib.so.19.7.99' failed make[2]: *** [dlib/libdlib.so.19.7.99] Error 1 CMakeFiles/Makefile2:124: recipe for target 'dlib/CMakeFiles/dlib_shared.dir/all' failed make[1]: *** [dlib/CMakeFiles/dlib_shared.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

arasharchor avatar Oct 18 '17 03:10 arasharchor

I don't know, but I don't think this is a dlib error. You probably have the wrong version of cudnn for a jetson TX1. Make sure you download a version of cudnn that is compatible with the jetson.

davisking avatar Oct 18 '17 09:10 davisking

do you solve the issue? I have the same issue on tx2

mrzhaorui avatar Jan 21 '19 02:01 mrzhaorui

One Way to install it without cuda is use cmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1

ParmpalGill avatar Jul 30 '19 10:07 ParmpalGill