http://www.network-theory.co.uk/docs/gccintro/gccintro_21.html
And library specified by LD_LIBRARY_PATH take precedence over system library directories.
http://www.network-theory.co.uk/docs/gccintro/gccintro_21.html
And library specified by LD_LIBRARY_PATH take precedence over system library directories.