leveldb icon indicating copy to clipboard operation
leveldb copied to clipboard

Cna not build Leveldb1.23

Open maths644311798 opened this issue 1 year ago • 1 comments

I follow README.md. System: Ubuntu 22.04.3 LTS. After cmake --build ., it shows

[ 41%] Linking CXX executable c_test
/usr/bin/ld: CMakeFiles/c_test.dir/db/c_test.c.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/c_test.dir/build.make:117: c_test] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:290: CMakeFiles/c_test.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

maths644311798 avatar Dec 22 '23 04:12 maths644311798