ERROR: Mismatch in the version of the fitsio.h include file used to build
the CFITSIO library, and the version included by the application program:
Version used to build the CFITSIO library = 3.250000
Version included by the application program = 0.000000
Segmentation fault (core dumped)
ERROR: Mismatch in the version of the fitsio.h include file used to build the CFITSIO library, and the version included by the application program: Version used to build the CFITSIO library = 3.250000 Version included by the application program = 0.000000 Segmentation fault (core dumped)
running on ubuntu 16.04