Starlink / starlink

Starlink Software Collection
162 stars 53 forks source link

cfitsio doesn't install versioned library when built individually #52

Open grahambell opened 8 years ago

grahambell commented 8 years ago

When cfitsio is built individually (bootstrap, configure, make and make install in thirdparty/heasarc/cfitsio) it doesn't install the versioned library libcfitsio.so.4. When built from a complete build (bootstrap, configure -C, make world in the top level directory, installing to a new empty target directory) this file is created but doesn't appear in the cfitsio manifest. It's not entirely clear how it's installed because the Makefile.am specifies cfitsio/libcfitsio.4@SHLIB_SUFFIX@ where the name is the wrong way round: this expands (in Makefile) to cfitsio/libcfitsio.4.so whereas the file we actually have is cfitsio/libcfitsio.so.4. It seems that installing sla or atl actually might actually create the versioned library. The corresponding commit message (ca719b05ffbd8540ec2f1d013e4504d74fa7fcbb) mentions that the versioned libraries end up as copies, but what we actually seem to get is a symlink going the wrong way: from libcfitsio.so.4 to libcfitsio.so.