This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran error with libgfortran.so.3
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: isearcher <isearcher at 126 dot com>, fortran at gcc dot gnu dot org
- Date: Wed, 18 Nov 2015 21:12:21 -0800
- Subject: Re: gfortran error with libgfortran.so.3
- Authentication-results: sourceware.org; auth=none
- References: <1447901174854-1207111 dot post at n5 dot nabble dot com>
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