New cfitsio (3.330) in rawhide

Michael Schwendt mschwendt at gmail.com
Mon Mar 11 07:08:58 UTC 2013


On Mon, 11 Mar 2013 04:55:06 +0100, Kevin Kofler wrote:

> Sergio Pascual wrote:
> > cfitsio function  fits_open_file checks at runtime if the version of
> > cfistio used during compile is the same version used at runtime. If not,
> > the program aborts. So every program linked with cfitsio must be
> > recompiled.
> 
> That's a totally broken versioning system, the soname needs to be bumped 
> instead.

That soname is added by a patch in the Fedora package. :-/
Bad idea to begin with, if the library performs such a run-time check.
A soname such as libcfitsio-%{version}.so.0 would have been a better idea.
It would enforce rebuilds whenever the version changes, and due to lack
of symbol versioning, it would also make the automatic soname dependency
in (re)builds against updates of cfitsio more strict (since they might
depend on added symbols).


More information about the devel mailing list