On 31 January 2017 at 00:05, robertdaleweir wrote: > I would like to know how to find the 'search path' when 'gcc' is compiling / > linking and running. It appears that 'runtime' linking is at a different > location than the 'compile and/or linking' libraries are located. I guess > my need is to learn how to locate the 'path' that is searched when 1.0 > Compiling 2.0 Linking and finally 3.0 Runtime. Thanks for any help in this > matter. GCC's -v option will show you the paths used when compiling and link. The runtime paths are nothing to do with GCC. If you're using GNU/Linux see 'man ld.so' for details.