I need to compile with the libraries statically linked, specially libm.so.6 and libstdc++.so. It's compiled on Ubuntu 20.04 but I want to run it also on RockyLinux 8.9 but it lacks the libraries for this dynamic compiled version.
How can i modify the build.sh or Makefile components to do it? thanks.
ldd ./rattle , needs to return,
not a dynamic executable