From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4135 invoked by alias); 19 Nov 2015 03:45:03 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 4105 invoked by uid 89); 19 Nov 2015 03:45:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 19 Nov 2015 03:45:01 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id tAJ3itOA067030 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Nov 2015 19:44:55 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id tAJ3irdS067029; Wed, 18 Nov 2015 19:44:53 -0800 (PST) (envelope-from sgk) Date: Thu, 19 Nov 2015 03:45:00 -0000 From: Steve Kargl To: isearcher Cc: fortran@gcc.gnu.org Subject: Re: gfortran error with libgfortran.so.3 Message-ID: <20151119034453.GA67006@troutmask.apl.washington.edu> References: <1447901174854-1207111.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447901174854-1207111.post@n5.nabble.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00114.txt.bz2 On Wed, Nov 18, 2015 at 07:46:14PM -0700, isearcher wrote: > > Recently i compiled gcc together with gfortran. Gcc works well. When i test > gfortran with a 'hello,world' program, Gfortran can produce the a.out, but > when i run ./a.out, there is an error: > > ./a.out: error while loading shared libraries: libgfortran.so.3: cannot open > shared object file: No such file or directory > > Any suggestions? > > Have you read the ldconfig documentation that I pointed you to? -- Steve