libgcc_s.so.1: open failed: No such file or directory

Sam Steingold sds@gnu.org
Wed May 12 17:00:00 GMT 2004


SunOS monty-burns 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Blade-1000
gcc (GCC) 3.2.2

After I link an executable (gcc -m64), I cannot run it:

ld.so.1: ./lisp.run: fatal: libgcc_s.so.1: open failed: No such file or directory

I do not want to add the libgcc_s.so.1 directory to LD_LIBRARY_PATH
(this is not an automated solution), I would prefer that the this path
is somehow saved into the executable.

how can I do it?

I tried adding the output of
  dirname `gcc -m64 -print-file-name=libgcc_s.so.1`
to -R and -L options - and got the same error.

Suggestions?

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
I don't want to be young again, I just don't want to get any older.



More information about the Gcc-help mailing list