This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ./libgcc_s.so.1 => not found, mainline broken?!?
- From: Christian Joensson <christian at j-son dot org>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: gcc at gnu dot org
- Date: Tue, 30 Nov 2004 19:02:38 +0100
- Subject: Re: ./libgcc_s.so.1 => not found, mainline broken?!?
- References: <41ACB2AE.9030103@suse.de>
On Tue, Nov 30, 2004 at 06:49:34PM +0100, Paolo Carlini wrote:
> Hi,
>
> something is currently broken in mainline wrt LD_LIBRARY_PATH and
> libgcc. Is this known?!?
>
> I'm seeing the problem with g++: the executable cannot find its
> libgcc_s.so.1
> I.e., for a build:
>
> --prefix=/usr/local/gcc-exp
>
> and
>
> LD_LIBRARY_PATH=/usr/local/gcc-exp/lib: ...
>
> I'm now seeing, invariably:
>
> paolo:~/Work> a.out
> a.out: error while loading shared libraries: ./libgcc_s.so.1: cannot
> open shared object file: No such file or directory
> paolo:~/Work> ldd a.out
> libstdc++.so.6 => /usr/local/gcc-exp/lib/libstdc++.so.6 (0x40017000)
> libm.so.6 => /lib/libm.so.6 (0x40100000)
> ./libgcc_s.so.1 => not found
> libc.so.6 => /lib/libc.so.6 (0x40122000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> ./libgcc_s.so.1 => not found
>
> Note that libgcc_s.so.1 *is* correctly installed in
> /usr/local/gcc-exp/lib/, only, the executable for some reason cannot
> find it :-(
The one I posted earlier today,
http://gcc.gnu.org/ml/gcc/2004-11/msg01197.html, might be related to
this issue.
Cheers,
/ChJ