The tarfile in this directory is a recent download from the CFITSIO website

https://heasarc.gsfc.nasa.gov/fitsio/

Untar this package and then

cd cfitsio
./configure
make shared
make install

to compile both shared and static libraries, and to install the libraries and
include files in lib64 and include within the development directory.  You must
copy those files to their destinations on your computer.  

cd lib64
tar cvf - * | tar xf - -C /usr/local/lib64/

cd ../include
cp * /usr/local/include/


Use of tar to copy libraries will preserve the symbolic links. After copying the
files, complete the installation with 

ldconfig

so that your system will be aware of their presence.




