Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2009 15:11:35 +0200
From:      "Pietro Cerutti" <gahr@gahr.ch>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: port lang/g95 installation problem, cannot exec 'f951': No such file
Message-ID:  <20090730131135.GA57352@gahrfit.gahr.ch>
In-Reply-To: <20090730090842.GB64840@mech-cluster241.men.bris.ac.uk>
References:  <20090729193532.GA58354@mech-cluster241.men.bris.ac.uk> <20090730074328.GG46857@gahrfit.gahr.ch> <20090730090842.GB64840@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-Jul-30, 10:08, Anton Shterenlikht wrote:
> On Thu, Jul 30, 2009 at 09:43:28AM +0200, Pietro Cerutti wrote:
> > On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
> > > this is a regression
> > > 
> > > after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
> > > port lang/g95 gives:
> > > 
> > > % g95 <any fortran file>
> > > g95: installation problem, cannot exec 'f951': No such file or directory
> > 
> > Fixed, thanks.
> > 
> > http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html
> 
> thank you, but now there is a linker error:
> 
> % g95 <somefile>
> ld: cannot find -lf95

Please set your LIBRARY_PATH environment variable to $prefix/lib.

$ cat test.f90
program hello
  print *,"Hello World!"
end program hello
$ setenv LIBRARY_PATH /usr/local/lib
$ g95 -o test test.f90
$ ./test
Hello World!


> 
> -- 
> Anton Shterenlikht
> Room 2.6, Queen's Building
> Mech Eng Dept
> Bristol University
> University Walk, Bristol BS8 1TR, UK
> Tel: +44 (0)117 928 8233 
> Fax: +44 (0)117 929 4423
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
Pietro Cerutti
The FreeBSD Project
gahr@FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090730131135.GA57352>