https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84554
--- Comment #3 from matthew.hambley at metoffice dot gov.uk --- > That shouldn't be possible, because by using contrib/download_prerequisites > GCC > will link to a static in-tree libgmp.a and so doesn't need any libgmp.so at > all. That was my understanding. > Do you have any odd environment variables that would be forcing it to link to > the shared library? Not as far as I'm aware. What would count as odd? I tried unsetting LD_LIBRARY_PATH and cutting PATH down to /bin:/usr/bin:/usr/local/bin What else did you have in mind?