I have run gcc cross compiler from ubuntu(x86) to arm. this cross compiler works fine on ubuntu 14, and not I try in on ubuntu 18.
I tried to compile simple program
#include <stdio.h>
void main() {
    printf("h\n");
}
gcc test.c -o test 
When I compile it with gcc (to x86) all works fine, but when I compile it with cross compiler arm gcc I got error ...arm-buildroot-linux-uclibcgnueabu/4.*.*/cc1 : error while loading shared libraries: libmpfr.so.4 cannot open shared object file: No such file or directory
When I serach I can findlibmpfr.so.4 in the cross compiler path under /usr/lib
So even arm-gcc test.c -o test -L "<path_to_compiler>/usr/lib" got same error .   and even export LD_LIBRARY_PATH=<path_to_compiler>/usr/lib didn't help