Open clibdev opened 2 years ago
try this: https://zhuanlan.zhihu.com/p/630082500
How Sysbench can be compiled statically on Ubuntu 24.04. I tried to add
LDFLAGS="-static"
toconfigure
but during compilation I got error../autogen.sh ./configure LDFLAGS="-static" make -j
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object collect2: error: ld returned 1 exit status
Are you done?
How Sysbench can be compiled statically on Ubuntu 24.04. I tried to add
LDFLAGS="-static"
toconfigure
but during compilation I got error.