xeft icon indicating copy to clipboard operation
xeft copied to clipboard

Trouble Compiling xapian-lite.cc

Open cpchan opened this issue 8 months ago • 1 comments

I have upgrading xeft to the latest git version. Now I have problem compiling xapian-lite.cc. Here is the log:

g++ xapian-lite.cc -o xapian-lite.so -shared -march=native -O3 -fstack-protector-strong -flto -L/usr/local/lib -lxapian /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: /tmp/cc4WO7ga.ltrans0.ltrans.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:18: xapian-lite.so] Error 1

Thanks.

cpchan avatar Jun 25 '25 02:06 cpchan