Hi, newbie here.
I'm interested in running some benchmarks using HYCOM. One of the issues I'm facing is that the download for HYCOM includes ncarg in the plot/ directory, and these seem to require the X11R6 library - which I would need to install. And there isn't a straightforward way I can find to do so.
Why do I think I need the X11R6 library?
I haven't installed X11R6 yet, and I can't link the object files in plot/ as shown below. My LD_LIBRARY_PATH is broken down below:
[root@localhost src]# echo $LD_LIBRARY_PATH
/opt/rh/devtoolset-8/root/usr/lib64:
/opt/rh/devtoolset-8/root/usr/lib:
/opt/rh/devtoolset-8/root/usr/lib64/dyninst:
/opt/rh/devtoolset-8/root/usr/lib/dyninst:
/opt/rh/devtoolset-8/root/usr/lib64:
/opt/rh/devtoolset-8/root/usr/lib:
/lib64:
/lib:
/usr/local/ncarg/lib
The reason I can't build is easy to see. My ncargf90 is broken; hence my assumption it's about the libraries...
[root@localhost ~]# ncargf90
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lX11
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lXext
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lXrender
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lfontconfig
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lexpat
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
Now, some of these objects I thought I had!
root@localhost src]# ldconfig -p | grep X11
libX11.so.6 (libc6,x86-64) => /lib64/libX11.so.6
libX11-xcb.so.1 (libc6,x86-64) => /lib64/libX11-xcb.so.1
)
But since -lX11 is not findable and yet is in the /lib64 path according to the above, I conclude that I need other objects, which come from the X11R6 library, to compile /plot.
But do I need to bother with this directory for a performance benchmark or not? Am I completely off-base about needing X11R6?