public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/5556: linker problem
@ 2002-01-31 6:56 xliu
0 siblings, 0 replies; 2+ messages in thread
From: xliu @ 2002-01-31 6:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: xliu4, jvelten
>Number: 5556
>Category: libstdc++
>Synopsis: linker problem
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 31 06:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: xuezhou liu
>Release: gcc-3.0.3
>Organization:
>Environment:
sun solaris 2.7
>Description:
I just install sparc/solaris 7 and inatll gcc from www.sunfreeware.com,
and I write a simple c++ code called welcome.cpp, the compiler is
passed, but I executes a.out, there is an error:
ld.so.1: ./a.out: fatal: libstdc++.so.3: open failed: No such file or directory
Killed
I am new to gcc, I need help immediately.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libstdc++/5556: linker problem
@ 2002-01-31 9:03 pme
0 siblings, 0 replies; 2+ messages in thread
From: pme @ 2002-01-31 9:03 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jvelten, nobody, xliu4, xliu
Synopsis: linker problem
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Thu Jan 31 09:03:49 2002
State-Changed-Why:
This has nothing to do with GCC.
You need to use -R, or LD_RUN_PATH, or LD_LIBRARY_PATH, to
tell the Solaris loader where to look for libraries. For
more information, read the man pages for ld(1) or ld.so.1(1).
If you need more help, see the sunfreeware.com site.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5556
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-31 17:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-31 6:56 libstdc++/5556: linker problem xliu
2002-01-31 9:03 pme
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).