I have compiled my program on my archlinux machine with gcc 9 and libc 2.25, the problem is that the target machine where I need to run my code is a debian distro with gcc6 and libc 2.24, so when I start the executable in the target machine I obtain a versioning error with libc. Any idea for solve this very annoying problem?
use autools/meson/cmake for solve the problems
otherwise link static libc
I'm facing the same problem right now, glibc is backwards compatible but not the opposite, try to compile it in 2.24 and run it in the 2.25, there is also problems in some versions (I'm gonna send you a link now) where abi/api weren't stable, but that's only for very old cases
Обсуждают сегодня