From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29834 invoked by alias); 19 Nov 2015 05:12:31 -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 29773 invoked by uid 89); 19 Nov 2015 05:12:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mtaout002-public.msg.strl.va.charter.net Received: from mtaout002-public.msg.strl.va.charter.net (HELO mtaout002-public.msg.strl.va.charter.net) (68.114.190.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Nov 2015 05:12:24 +0000 Received: from impout002 ([68.114.189.17]) by mtaout002.msg.strl.va.charter.net (InterMail vM.9.00.021.00 201-2473-182) with ESMTP id <20151119051222.WKUG13656.mtaout002.msg.strl.va.charter.net@impout002>; Wed, 18 Nov 2015 23:12:22 -0600 Received: from quattro.localdomain ([96.41.215.23]) by impout002 with charter.net id jHCM1r00F0Wrkg001HCNWY; Wed, 18 Nov 2015 23:12:22 -0600 X-Authority-Analysis: v=2.1 cv=Xb4HzeJ5 c=1 sm=1 tr=0 a=salB9WdMPIDduBH7JsZfrA==:117 a=salB9WdMPIDduBH7JsZfrA==:17 a=hOpmn2quAAAA:8 a=N659UExz7-8A:10 a=OFKXmGXyMMFVkJkKOUAA:9 a=pILNOxqGKmIA:10 X-Auth-id: anZkZWxpc2xlQGNoYXJ0ZXIubmV0 Subject: Re: gfortran error with libgfortran.so.3 To: isearcher , fortran@gcc.gnu.org References: <1447901174854-1207111.post@n5.nabble.com> From: Jerry DeLisle Message-ID: <564D5A35.9060700@charter.net> Date: Thu, 19 Nov 2015 05:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1447901174854-1207111.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00115.txt.bz2 On 11/18/2015 06:46 PM, isearcher wrote: > hello! > > 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? > export LD_LIBRARY_PATH="path to where it is" Jerry