This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran error libgfortran.so.3 cannot open shared object file
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 5 Mar 2009 16:26:51 -0800
- Subject: Re: gfortran error libgfortran.so.3 cannot open shared object file
- References: <65769345.1262511236298603165.JavaMail.root@zm04.stanford.edu> <1110434779.1262631236298659418.JavaMail.root@zm04.stanford.edu>
On Thu, Mar 05, 2009 at 04:17:39PM -0800, Sankaranarayanan Subbayya wrote:
> I had another version of gfortran that came with the computer
>
> GNU Fortran 95 (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
> Copyright (C) 2006 Free Software Foundation, Inc.
>
> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute copies of GNU Fortran
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING
>
> In order to use the recent version of gfortran I installed I used export PATH=/usr/gcc-trunk/bin:$PATH
>
> Any ideas to resolve the error "libgfortran.so.3: cannot open shared object file: No such file or directory" would be appreciated.
>
1) Remove all vestiges of gfortran 4.1.1 from your system.
2) Remove all vestiges of gfortran that you installed from your system.
3) Download the appropriate gfortran version from the gfortran wiki.
4) Install the downloaded versioni and run ldconfig.
5) Inspection your shared library patch via ldconfig.
--
Steve