From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17614 invoked by alias); 18 Oct 2002 22:21:49 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17599 invoked from network); 18 Oct 2002 22:21:48 -0000 Received: from unknown (HELO vexpert.dbai.tuwien.ac.at) (128.130.111.12) by sources.redhat.com with SMTP; 18 Oct 2002 22:21:48 -0000 Received: from pulcherrima (pulcherrima [128.130.111.23]) by vexpert.dbai.tuwien.ac.at (8.12.6/8.12.6) with ESMTP id g9IMLl8Q001566; Sat, 19 Oct 2002 00:21:47 +0200 (CEST) Date: Fri, 18 Oct 2002 16:59:00 -0000 From: Gerald Pfeifer To: "Fantasy (Fay)" cc: gcc@gcc.gnu.org Subject: Re: http://gcc.gnu.org/install/finalinstall.html In-Reply-To: <000501c272ec$d22c92a0$0100a8c0@gardan> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-10/txt/msg01151.txt.bz2 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/