How can I avoid the dreaded "cannot compute suffix of object files"?

Andrew Haley aph@redhat.com
Fri Feb 12 16:26:00 GMT 2010


On 02/12/2010 12:36 PM, Dr. David Kirkby wrote:
> 
> OK, I set LD_OPTIONS to
> 
> -R/usr/local/gcc-4.4.3/lib -L/usr/local/gcc-4.4.3/lib
> 
> GCC 4.4.3 builds fine. There is no more of this "cannot compute suffix
> of object files" rubbish.
> 
> However, at runtime, gcc is failing to find gcc_lib.so, so not all
> binaries build.
> 
> fatal: libgcc_s.so.1: open failed: No such file or directory
> 
> Any ideas Dennis - or anyone else for that matter?

Probably LD_LIBRARY_PATH again?  You need to make sure that libgcc_s.so.1
is reachable.

When do you first see this failure?

Andrew.



More information about the Gcc-help mailing list