From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14955 invoked by alias); 12 May 2004 17:00:57 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14937 invoked from network); 12 May 2004 17:00:56 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sourceware.org with SMTP; 12 May 2004 17:00:56 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BNx6F-0006yH-00 for ; Wed, 12 May 2004 19:00:55 +0200 Received: from fw-ext.alphatech.com ([198.112.236.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 19:00:55 +0200 Received: from sds by fw-ext.alphatech.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 May 2004 19:00:55 +0200 To: gcc-help@gcc.gnu.org From: Sam Steingold Subject: libgcc_s.so.1: open failed: No such file or directory Date: Wed, 12 May 2004 17:00:00 -0000 Organization: disorganization Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fw-ext.alphatech.com X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) X-SW-Source: 2004-05/txt/msg00144.txt.bz2 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 I don't want to be young again, I just don't want to get any older.