I'm trying to use a version of gcc relocated from another system to compile something. I know that there are issues with this but if I can get it to work it will make my life much easier. I've added the /opt/transfer/lib path to $LIBRARY_PATH and gcc appears to see this (from gcc -print-search-dirs). I've also added /opt/transfer/lib to /etc/ld.so.conf though I would greatly prefer a solution where this wasn't necessary. The problem comes when I execute:I'm trying to use a version of gcc relocated fr