Comment 0 for bug 1426711

---Problem Description---
ibutils InfiniBand network utilities package has a missing dependancy in Ubuntu 14.10 (x86_64)

---/etc/os-release ---
NAME="Ubuntu"
VERSION="14.10 (Utopic Unicorn)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

---Steps to Reproduce---
install ibutils and run ibis it will fail with a problem loading libosmvendor.so.3

root@my-vz:/# ibis
ibis: error while loading shared libraries: libosmvendor.so.3: cannot open shared object file: No such file or directory

root@my-vz:/# ldd `which ibis`
        linux-vdso.so.1 => (0x00007fff06dfe000)
        libopensm.so.5 => /usr/lib/x86_64-linux-gnu/libopensm.so.5 (0x00007ff650457000)
        libosmvendor.so.3 => not found
        libosmcomp.so.3 => /usr/lib/x86_64-linux-gnu/libosmcomp.so.3 (0x00007ff650248000)
        libtcl8.6.so => /usr/lib/x86_64-linux-gnu/libtcl8.6.so (0x00007ff64feab000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff64fc8d000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff64f8c7000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff64f6c3000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff64f4aa000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff64f1a3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff650671000)

root@my-vz:/# apt-cache depends ibutils
ibutils
  Depends: libc6
  Depends: libgcc1
  Depends: libibdm1
  Depends: libopensm5
  Depends: libstdc++6
  Depends: libtcl8.6

The problem is probably that libopensm5 used to provided libosmvendor.so.3 in Ubuntu 14.04 LTS but no longer does so.

In 15.04 the libopensm5 dependancy on libopensm5 has been replaced by a dependancy on libopensm5a and libosmvendor4

=== Ubuntu 15.04 ===
ibutils is working on 15.04 and has an additional dependency on libosmvendor4
root@my-15-04:/# apt-cache depends ibutils
ibutils
  Depends: libc6
  Depends: libgcc1
  Depends: libibdm1
  Depends: libopensm5a
  Depends: libosmcomp3
  Depends: libosmvendor4
  Depends: libstdc++6
  Depends: libtcl8.6

=== Ubuntu 14.04 LTS ===
ibutils is working in 14.04 and is linked like this:

ldd /usr/bin/ibis
 linux-vdso.so.1 => (0x00007fffaedfe000)
 libopensm.so.5 => /usr/lib/x86_64-linux-gnu/libopensm.so.5 (0x00007f4a70b46000)
 libosmvendor.so.3 => /usr/lib/x86_64-linux-gnu/libosmvendor.so.3 (0x00007f4a7093e000)
 libosmcomp.so.3 => /usr/lib/x86_64-linux-gnu/libosmcomp.so.3 (0x00007f4a7072f000)
 libtcl8.6.so => /usr/lib/x86_64-linux-gnu/libtcl8.6.so (0x00007f4a70397000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4a70179000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4a6fdb2000)
 libibumad.so.3 => /usr/lib/x86_64-linux-gnu/libibumad.so.3 (0x00007f4a6fbab000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4a6f9a7000)
 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4a6f78d000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4a6f487000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f4a70d64000)

And libosmvendor.so.3 was part of libopensm5.
dpkg -S /usr/lib/x86_64-linux-gnu/libosmvendor.so.3
libopensm5: /usr/lib/x86_64-linux-gnu/libosmvendor.so.3

and has the following deps:
apt-cache depends ibutils
ibutils
  Depends: libc6
  Depends: libgcc1
  Depends: libibdm1
  Depends: libopensm5
  Depends: libstdc++6
  Depends: libtcl8.6