public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cannot Successfully map soname libstdc++
@ 2004-09-09 20:41 Toon Knapen
  2004-09-10  5:43 ` Toon Knapen
  0 siblings, 1 reply; 2+ messages in thread
From: Toon Knapen @ 2004-09-09 20:41 UTC (permalink / raw)
  To: gcc-help

I just installed gcc-3.3.4 on our IRIX 6.5 mips4 machine. However I do 
not succeed in launching a hello world program that is compiled with 
this gcc compiler. Whenever I launch I get following error:

138196:a.out: rld: Fatal Error: Cannot Successfully map soname 
'libstdc++.so.6' under any of the filenames 
/soft/sdrc/ideas10m1/orbix/shlib/libstdc++.so.6:/soft/sdrc/ideas10m1/orbix/shlib/default/libstdc++.so.6:/soft/sdrc/ideas9/orbix/lib/libstdc++.so.6:/usr/lib32/libstdc++.so.6:/usr/lib32/internal/libstdc++.so.6:/opt/lib32/libstdc++.so.6

The funy thing is that the libstdc++.so.6 that comes with the gcc 
(installed in /usr/local/gcc-3.3.4) is not listed although 
LD_LIBRARY_PATH contains /usr/local/gcc-3.3.4/lib (followed by the paths 
to the /soft/sdrc....).

Any ideas? Thanks in advance.

toon

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot Successfully map soname libstdc++
  2004-09-09 20:41 Cannot Successfully map soname libstdc++ Toon Knapen
@ 2004-09-10  5:43 ` Toon Knapen
  0 siblings, 0 replies; 2+ messages in thread
From: Toon Knapen @ 2004-09-10  5:43 UTC (permalink / raw)
  To: Toon Knapen; +Cc: gcc-help

Toon Knapen wrote:


> 138196:a.out: rld: Fatal Error: Cannot Successfully map soname 
> 'libstdc++.so.6' under any of the filenames 
> /soft/sdrc/ideas10m1/orbix/shlib/libstdc++.so.6:/soft/sdrc/ideas10m1/orbix/shlib/default/libstdc++.so.6:/soft/sdrc/ideas9/orbix/lib/libstdc++.so.6:/usr/lib32/libstdc++.so.6:/usr/lib32/internal/libstdc++.so.6:/opt/lib32/libstdc++.so.6 
> 
> 
> The funy thing is that the libstdc++.so.6 that comes with the gcc 
> (installed in /usr/local/gcc-3.3.4) is not listed although 
> LD_LIBRARY_PATH contains /usr/local/gcc-3.3.4/lib (followed by the paths 
> to the /soft/sdrc....).


(Replying to myself)
I found out that IRIX does not use LD_LIBRARY_PATH but rather 
LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH to find its shared libs.
So setting these paths, I succeed in running my executable.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-10  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 20:41 Cannot Successfully map soname libstdc++ Toon Knapen
2004-09-10  5:43 ` Toon Knapen

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).