Source: leveldb Version: 1.18-2 Severity: normal Tags: patch It seems that it may be necessary to build leveldb with -fPIC (again).
During packaging of new upstream release of "litecoin" I attempted to use system "leveldb" library but compilation failed with the following error: ~~~~ /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libmemenv.a(memenv.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/x86_64-linux-gnu/libmemenv.a: error adding symbols: Bad value ~~~~ I've managed to overcome this problem by re-building leveldb with the following line added to "debian/rules": export DEB_CPPFLAGS_MAINT_APPEND = -fPIC I'm not sure if this is the best approach or if there are any drawbacks. -- Best wishes, Dmitry Smirnov P.S. According to upstream release notes, new release of litecoin "contains very important security fixes and all users MUST upgrade to this version as soon as possible". Considering this would it be possible to handle -fPIC leveldb issue in a timely manner? Thanks. --- In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. -- Galileo Galilei
signature.asc
Description: This is a digitally signed message part.