py-faster-rcnn icon indicating copy to clipboard operation
py-faster-rcnn copied to clipboard

error while making caffe

Open ghost opened this issue 5 years ago • 1 comments

Hi. I am trying to make caffe and I am getting following error. Can anyone help me to solve the problem? I have attached my Makefile.config file.

/usr/bin/ld: /usr/local/lib/libleveldb.a(db_impl.cc.o): relocation R_X86_64_32 against `_ZTVN7leveldb6DBImplE' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libleveldb.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:582: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1

I have tried both configs and I get same error:

Operating system: ubuntu 16.04
CUDA version:10.2
CUDNN version: 7

and

Operating system: ubuntu 16.04
CUDA version:8
CUDNN version: 5

Makefile.config.zip

ghost avatar Jun 04 '20 02:06 ghost

no,i can't

zhipengye46 avatar Feb 21 '21 07:02 zhipengye46