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

pip3 install plyvel failed on Ubuntu 20.04 on Raspberry Pi 4B #128

Open
DevelopDaily opened this issue Jul 3, 2021 · 0 comments
Open

pip3 install plyvel failed on Ubuntu 20.04 on Raspberry Pi 4B #128

DevelopDaily opened this issue Jul 3, 2021 · 0 comments

Comments

@DevelopDaily
Copy link

First of all, pip3 install plyvel works perfectly on Ubuntu 20.04, say, on AMD CPU.

When I install that on a Raspberry Pi 4B, running Ubuntu, the installation fail with these error messages:

aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/plyvel/_plyvel.o build/temp.linux-aarch64-3.8/plyvel/comparator.o -lleveldb -o build/lib.linux-aarch64-3.8/plyvel/_plyvel.cpython-38-aarch64-linux-gnu.so
  
/usr/bin/ld: /usr/local/lib/libleveldb.a(db_impl.cc.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZTVN7leveldb12SnapshotImplE' which may bind externally can not be used when making a shared object; recompile with -fPIC
  /usr/local/lib/libleveldb.a(db_impl.cc.o): in function `leveldb::DBImpl::GetSnapshot()':
  db_impl.cc:(.text+0x288): dangerous relocation: unsupported relocation

Could you please help?

Thanks.

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