port lang/g95 installation problem, cannot exec 'f951': No such file

Pietro Cerutti gahr at gahr.ch
Thu Jul 30 13:21:55 UTC 2009


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

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

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


More information about the freebsd-questions mailing list