Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while making caffe #938

Open
ghost opened this issue Jun 4, 2020 · 1 comment
Open

error while making caffe #938

ghost opened this issue Jun 4, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 4, 2020

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

@zhipengye46
Copy link

no,i can't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant