* ./libgcc_s.so.1 => not found, mainline broken?!?
@ 2004-11-30 18:09 Paolo Carlini
2004-11-30 18:10 ` Christian Joensson
2004-11-30 18:11 ` Eric Botcazou
0 siblings, 2 replies; 5+ messages in thread
From: Paolo Carlini @ 2004-11-30 18:09 UTC (permalink / raw)
To: gcc
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 :-(
Thanks for any feedback,
Paolo.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ./libgcc_s.so.1 => not found, mainline broken?!?
2004-11-30 18:09 ./libgcc_s.so.1 => not found, mainline broken?!? Paolo Carlini
@ 2004-11-30 18:10 ` Christian Joensson
2004-11-30 18:11 ` Paolo Carlini
2004-11-30 18:11 ` Eric Botcazou
1 sibling, 1 reply; 5+ messages in thread
From: Christian Joensson @ 2004-11-30 18:10 UTC (permalink / raw)
To: Paolo Carlini; +Cc: gcc
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ./libgcc_s.so.1 => not found, mainline broken?!?
2004-11-30 18:10 ` Christian Joensson
@ 2004-11-30 18:11 ` Paolo Carlini
0 siblings, 0 replies; 5+ messages in thread
From: Paolo Carlini @ 2004-11-30 18:11 UTC (permalink / raw)
To: Christian Joensson; +Cc: gcc
Christian Joensson wrote:
>The one I posted earlier today,
>http://gcc.gnu.org/ml/gcc/2004-11/msg01197.html, might be related to
>this issue.
>
>
I see, thanks... Anyway, in the meanwhile I learned that the issue is known
and Zack is already working on it:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02674.html
Paolo.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ./libgcc_s.so.1 => not found, mainline broken?!?
2004-11-30 18:09 ./libgcc_s.so.1 => not found, mainline broken?!? Paolo Carlini
2004-11-30 18:10 ` Christian Joensson
@ 2004-11-30 18:11 ` Eric Botcazou
2004-11-30 18:37 ` Paolo Carlini
1 sibling, 1 reply; 5+ messages in thread
From: Eric Botcazou @ 2004-11-30 18:11 UTC (permalink / raw)
To: Paolo Carlini; +Cc: gcc
> 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 :-(
Note the "./" before libgcc_s.so.1. Probably Zack's patch.
--
Eric Botcazou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ./libgcc_s.so.1 => not found, mainline broken?!?
2004-11-30 18:11 ` Eric Botcazou
@ 2004-11-30 18:37 ` Paolo Carlini
0 siblings, 0 replies; 5+ messages in thread
From: Paolo Carlini @ 2004-11-30 18:37 UTC (permalink / raw)
To: Eric Botcazou; +Cc: gcc
Eric Botcazou wrote:
>Note the "./" before libgcc_s.so.1.
>
Ah, you are right, I'm blind today! ;)
> Probably Zack's patch.
>
Yes, most probably.
Thanks,
Paolo.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-30 18:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 18:09 ./libgcc_s.so.1 => not found, mainline broken?!? Paolo Carlini
2004-11-30 18:10 ` Christian Joensson
2004-11-30 18:11 ` Paolo Carlini
2004-11-30 18:11 ` Eric Botcazou
2004-11-30 18:37 ` Paolo Carlini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).