caffe icon indicating copy to clipboard operation
caffe copied to clipboard

relocation R_X86_64_32S against `_ZTVN7leveldb2DBE'

Open hayderm opened this issue 11 years ago • 3 comments

Please, could someone help me with this issue? I have compiled caffe and gotten this message error

VCC src/caffe/layers/cudnn_sigmoid_layer.cu NVCC src/caffe/layers/im2col_layer.cu NVCC src/caffe/layers/pooling_layer.cu NVCC src/caffe/layers/lrn_layer.cu NVCC src/caffe/layers/cudnn_pooling_layer.cu NVCC src/caffe/layers/inner_product_layer.cu NVCC src/caffe/layers/power_layer.cu NVCC src/caffe/layers/eltwise_layer.cu NVCC src/caffe/layers/exp_layer.cu NVCC src/caffe/layers/conv_layer.cu NVCC src/caffe/layers/softmax_loss_layer.cu NVCC src/caffe/layers/relu_layer.cu NVCC src/caffe/layers/sigmoid_layer.cu NVCC src/caffe/layers/hdf5_data_layer.cu NVCC src/caffe/layers/hdf5_output_layer.cu NVCC src/caffe/layers/euclidean_loss_layer.cu AR -o .build_release/lib/libcaffe.a LD -o .build_release/lib/libcaffe.so /usr/bin/ld: /usr/local/lib/libleveldb.a(db_impl.o): relocation R_X86_64_32S against `_ZTVN7leveldb2DBE' 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 make: *** [.build_release/lib/libcaffe.so] Error 1

hayderm avatar Mar 01 '15 05:03 hayderm

We welcome you to look at the extensive documentation, tutorials, and examples at http://caffe.berkeleyvision.org/ However, please ask usage questions on caffe-users -- this issues tracker is primarily for Caffe development discussion. Thanks!

n-zhang avatar Mar 12 '15 23:03 n-zhang

How to solve the problem?

jeckian avatar Dec 09 '17 04:12 jeckian

I have the same problem

jeckian avatar Dec 09 '17 04:12 jeckian