From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17739 invoked by alias); 20 Jan 2008 11:44:08 -0000 Received: (qmail 17731 invoked by uid 22791); 20 Jan 2008 11:44:07 -0000 X-Spam-Check-By: sourceware.org Received: from canyonero.dot.net.au (HELO canyonero.dot.net.au) (202.147.68.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 20 Jan 2008 11:43:48 +0000 Received: from ppp-47-52.grapevine.net.au ([203.129.47.52]:53448 helo=[192.168.1.5]) by canyonero.dot.net.au with esmtp (Exim 4.50) id 1JGYa9-0001Pt-Mc for gcc-help@gcc.gnu.org; Sun, 20 Jan 2008 22:43:21 +1100 Subject: Library error message. From: Peter Morgan Reply-To: petermorgan@grapevine.net.au To: gcc-help@gcc.gnu.org Content-Type: text/plain Date: Mon, 21 Jan 2008 11:14:00 -0000 Message-Id: <1200829393.11718.7.camel@currawong> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-2.fc8) Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00190.txt.bz2 Hi I am getting the following error messages when I attempt to run a fortran 95 test program. peterm@currawong ~]$ a.out a.out: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory The fortran compilation is apparently error less I have two installations of f95. One down the /opt tree and the other down the /usr/local tree. Both give the same error message. My .tcshrc file has the line set LD_LIBRARY_PATH = ( /usr/local/lib /opt/lib /usr/lib and the echo $LD_LIBRARY_PATH yields. [peterm@currawong ~]$ echo $LD_LIBRARY_PATH /usr/local/lib /opt/lib /usr/lib Sorry I cannot see my problem so appreciate comments. Thanks