Bug#586149: Please consider the usage of update-alternatives for hdf5 libraries

Francesco P. Lovergine frankie at debian.org
Sun Feb 26 14:22:46 UTC 2012


On Sun, Feb 26, 2012 at 12:34:54AM -0500, Adam C Powell IV wrote:
> There's a better way to do this by just having different shared library
> file names and sonames for each of the shared library packages.  Then
> the -dev packages can conflict, while one can install multiple packages
> using the different shared libraries simultaneously, not one-at-a-time
> as update-alternatives would do.
> 
> Note this would also allow simultaneous install of hdf5-tools and
> libhdf5-mpi-dev which is required to build several HDF5 reverse-depends,
> such as med-fichier.  This represents a major regression vs. 1.8.6 and
> should be fixed as soon as possible.
> 

Are you proposing to install conflicting -dev packages with identical
symlinks for ensuring transparent building in serial/parallel? I'm not
sure that would not break in a very odd and tricky way intricated
dependencies (e.g. building using headers of third parties that
depend on and include different hdf5 flavors). I would avoid that.
It is much more sane diverging headers names too and patch what ever
is needed to be patched to use the right flavor.


-- 
Francesco P. Lovergine





More information about the Pkg-grass-devel mailing list