I am just getting to learn Fortran, but have quite a bit of Linux
I'm trying to install gnuplotfortran as an unprivileged user on a SuSE
Enterprise Server 9.
I've already installed libpng, libgd, gnuplot, fortranposix and
gnuplotfortran with PREFIX=/home/user/somedir/
and set LD_LIBRARY_PATH to include /home/user/somedir/lib.
When trying to test the testbench in $PREFIX/src/gnuplotfortran-0.2.2-1 the
g95 -B ../../lib/ -o proggy gnuplot_fortran95.f90 -lfortranposix
which leads to:
main.o)(.text+0x29): In function 'main':
/home/andy/g95.build/linux/g95-0.90/runtime/main.c: undefined reference to
I do not understand where the problem is originating from. Is it one of
fortranposix/gnuplotfortran, or is it from
the (I suppose) custom install of g95 or is it something else that I'm just
Any help as soon as possible would be greatly appreciated.