So, the title really describes it all. I would appreciate if someone could help me decipher what it is that I am doing wrong. I tried reinstalling and updating both gfortran and libplot, but I still cannot produce a result.
Any and all help is greatly appreciated. Thanks
----Below is what I type into the terminal
Code:
gfortran -o example orbits.f -L/usr/local/pgplot -lpgplot
----Below is what the terminal responds with
Code:
/Users/alex1257/prvs/src/dgaussj.f:22.72:
Included at orbits.f:581:
pause 'singular matrix in gaussj'
1
Warning: Deleted feature: PAUSE statement at (1)
/Users/alex1257/prvs/src/dgaussj.f:42.72:
Included at orbits.f:581:
if (a(icol,icol).eq.0.d0) pause 'singular matrix in gaussj'
1
Warning: Deleted feature: PAUSE statement at (1)
damoyr.f:10.22:
Included at orbits.f:583:
+ 3HOCT,3HNOV,3HDEC/
1
Warning: Extension: Hollerith constant at (1)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libpgplot.so when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libpgplot.a when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libpgplot.so when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libpgplot.a when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libpgplot.so when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libpgplot.a when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/libpgplot.so when searching for -lpgplot
/usr/bin/ld: skipping incompatible /usr/lib/libpgplot.a when searching for -lpgplot
/usr/bin/ld: cannot find -lpgplot
collect2: error: ld returned 1 exit status