You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
/usr/bin/ld: //usr/local/lib/libvelocypack.a(Builder.cpp.o): relocation R_X86_64_TPOFF32 against `_ZGVZN8arangodb10velocypack7Builder19sortObjectIndexLongEPhRSt6vectorImSaImEEE7entries' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: //usr/local/lib/libvelocypack.a(Slice.cpp.o): relocation R_X86_64_PC32 against symbol `_ZN8arangodb10velocypack15SliceStaticData7TypeMapE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:132: recipe for target 'arangodb.so' failed
make: *** [arangodb.so] Error 1
How to resolve this?
The text was updated successfully, but these errors were encountered:
@sandrokeil I think i found the solution :). Try adding -fPIC to deps/velocypack/cmake/Modules/AR_CompilerSettings.cmake:10 BASE_COMPILER_OPTIONS. The whole main.cpp works for me now
After #3 was resolved, new error occurred.
How to resolve this?
The text was updated successfully, but these errors were encountered: