caffe compilation error (on make all step) "[.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1"

92 views
Skip to first unread message

Pasindu Perera

unread,
Aug 20, 2016, 9:01:46 AM8/20/16
to Caffe Users

I'm on Ubuntu 

this is what i get

user@computer:~/path/to/caffee/git/clone/files$ make all



LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 /usr/bin/ld: /lib/atlas-3-10-3/lib/libcblas.a(cblas_dgemm.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /lib/atlas-3-10-3/lib/libcblas.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:563: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1



after building atlas i copied all atlas build files to /lib/atlas-3-10-3/
and made the changes to Makefile.config as


BLAS_INCLUDE := /lib/atlas-3-10-3/include
BLAS_LIB := /lib/atlas-3-10-3/lib

please help

Reply all
Reply to author
Forward
0 new messages