Can not follow FAQ about suffix error
Jonathan Wakely
jwakely.gcc@gmail.com
Sat Apr 29 04:32:00 GMT 2017
On 28 April 2017 at 13:17, Ray Sheppard wrote:
> Hi again,
> Please remember that I had already built all the prerequisites and
> explicitly told configure the path to each of them. To be honest, that the
> package would lose its mind and not know where the libraries were never
> crossed my mind until it was pointed out.
GCC knows exactly where they are, but the runtime linker in
/lib64/ld-linux.so needs to know too.
Even if GCC set LD_LIBRARY_PATH while building itself you'd have had
exactly the same problem after installing GCC when you tried to run
the binaries. That's how shared libs work: if you install them in
non-standard locations it's your job to ensure they can be found at
runtime.
In this case the solution is to not install them in non-standard locations.
More information about the Gcc-help
mailing list