Bug#842881: libmpich12: extraneous - and possibly wrong - symbolic link: /usr/lib/libmpich.so.12 -> libmpi.so

Gilles Filippini pini at debian.org
Wed Nov 2 01:14:20 UTC 2016


Package: libmpich12
Version: 3.2-7
Severity: serious
Justification: make other packages FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I've just experienced a weird FTBFS on hdf5 on my box, caused by an
extraneous symlink:
/usr/lib/libmpich.so.12 -> libmpi.so

Steps to reproduce:
1- Start from an unstable sbuild chroot
2- apt-get install libmpich-dev
3- apt-get install libopenmpi-dev

Result:
/usr/lib/libmpich.so.12 -> libmpi.so
/usr/lib/libmpi.so -> /etc/alternatives/libmpi.so
/etc/alternatives/libmpi.so -> /usr/lib/openmpi/lib/libmpi.so
/usr/lib/openmpi/lib/libmpi.so -> libmpi.so.20.0.1

In other words, /usr/lib/libmpich.so.12 is a symlink to
/usr/lib/openmpi/lib/libmpi.so.20.0.1 from libopenmpi2.

This link is created by ldconfig if and only if /usr/lib/libmpi.so
exists:
1- Start again from an unstable sbuild chroot
2- apt-get install libmpich12
   => no /usr/lib/libmpich.so.12 symlink
3- apt-get install libmpich-dev
   => still no /usr/lib/libmpich.so.12 symlink
4- ldconfig -v | grep changed
	libmpich.so.12 -> libmpi.so (changed)
	libmpichcxx.so.12 -> libmpicxx.so (changed)
	libmpichfort.so.12 -> libmpif90.so (changed)

I have no idea how to solve this problem :/

Thanks,

_g.

- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYGT3hAAoJEO/obGx//s+D5zQH/R9TUA/zyUMgmDugJr5sI36h
C4DMVbFuv4a6yOb9wR4x5w6JEpmOUrK9++bUWRcwUCQwRgZqjBx1mQL/7hzpHNcd
xb1rRl3et4WBxrPoHzZKqXlN6Hdg+NBGNG+bTpFN/D4vJV4wOJyoX94USp//UcnP
6pUO/GoRLR71aKbs21sf3VrENPPdyOBWLSGljPaQZsU8Uj3GozVX6HLSokz1rFU/
7PRY+I6tOpv53IhpbBLbn+1p/rSnpXYIgkZIHgnPiGxGU0qUjimH2SEwOpVO404g
tTIfosLClvRlNTo66JZH1KRjHdxBI7NYvvVIufKpnjh9PN7y8aBgqq3ER9n/hIQ=
=wGnc
-----END PGP SIGNATURE-----



More information about the debian-science-maintainers mailing list