First point: all responses to the compiler version seem to be erroneous. What are the important connections (and, of course, architecture).
.so (, /usr/local/* /opt/*), , LD_PRELOAD, (ld-linux.so) , .
, ( - LD_ * /etc/ld.so.preload ( chroot?), .
, . . Ubuntu Red Hat . ! ( , , , ServerFault SuperUser, SO).