public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* http://gcc.gnu.org/install/finalinstall.html
@ 2002-10-13 18:13 Fantasy (Fay)
  2002-10-18 16:59 ` http://gcc.gnu.org/install/finalinstall.html Gerald Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: Fantasy (Fay) @ 2002-10-13 18:13 UTC (permalink / raw)
  To: gcc

Hi there!

I just compiled gcc3.2 on my SuSE Linux machine. As I am relatively new to
linux systems in terms of installing, compiling and so on, I ran into an
error that I could not solve myself. I am glad I have a friend who could
help me, and I thought that this might be information You could include on
your page.

After I made "make install", I tried to compile something with g++ and when
trying to execute, I ran into the following error:
./a.out: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
Now my friend told me to run "ldconfig" (as root). Then it worked.

I thought that this might be useful information for Your Final installation
page.

Greetings,
Wolfram Koska

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

* Re: http://gcc.gnu.org/install/finalinstall.html
  2002-10-13 18:13 http://gcc.gnu.org/install/finalinstall.html Fantasy (Fay)
@ 2002-10-18 16:59 ` Gerald Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2002-10-18 16:59 UTC (permalink / raw)
  To: Fantasy (Fay); +Cc: gcc

On Sun, 13 Oct 2002, Fantasy (Fay) wrote:
> After I made "make install", I tried to compile something with g++ and when
> trying to execute, I ran into the following error:
> ./a.out: error while loading shared libraries: libstdc++.so.5: cannot open
> shared object file: No such file or directory
> Now my friend told me to run "ldconfig" (as root). Then it worked.
>
> I thought that this might be useful information for Your Final
> installation page.

Indeed, this is something we should document better.

Folks, any suggestions how to enhance our install documentation in that
respect? Should we recommend using LD_LIBRARY_PATH? Or refer to some other
piece of documentation?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

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

end of thread, other threads:[~2002-10-18 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-13 18:13 http://gcc.gnu.org/install/finalinstall.html Fantasy (Fay)
2002-10-18 16:59 ` http://gcc.gnu.org/install/finalinstall.html Gerald Pfeifer

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