simple methods, copy the corresponding libgcc_s.so from the system library path into the direcotry where the libraries for tools are located, or you can set 'LD_PREFER' to /lib or /lib64
in addition ,why do so ? because the initializing scripts of the tool will always set the LD_LIBRARY_PATH to self-library path , so seek the path first.