http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49306
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-07 08:31:46 UTC --- http://gcc.gnu.org/wiki/FAQ#configure_suffix Read the docs for --with-gmp, if linking dynamically you need to reconfigure your dynamic linker to look in /opt/local, or use LD_LIBRARY_PATH, or just link statically.