Public bug reported:

Recently I built a library with Intel MKL as a dependency (libmkl-dev
package). Trying to run an application threw me an error message:
"undefined symbol: omp_get_num_procs". The problem turned up to be old
and known (https://software.intel.com/en-us/forums/intel-system-
studio/topic/611682) -- missing libiomp5.so.

Examining dependencies of libmkl-dev leads to chain: libmkl-dev ->
libmkl-rt -> libomp5 which must contain libiomp5.so. The last one
depends only on libc6.

But package libomp5 only contains documentation, not the library:
$ apt-file show libomp5
libomp5: /usr/lib/x86_64-linux-gnu/libomp.so.5
libomp5: /usr/share/doc/libomp5/changelog.Debian.gz
libomp5: /usr/share/doc/libomp5/copyright
libomp5: /usr/share/lintian/overrides/libomp5

All libraries are packed into libomp-dev:
$ apt-file show libomp-dev
libomp-dev: /usr/include/omp.h
libomp-dev: /usr/include/ompt.h
libomp-dev: /usr/lib/x86_64-linux-gnu/libgomp.so
libomp-dev: /usr/lib/x86_64-linux-gnu/libiomp5.so
libomp-dev: /usr/lib/x86_64-linux-gnu/libomp.so
libomp-dev: /usr/lib/x86_64-linux-gnu/libomptarget.so
libomp-dev: /usr/share/doc/libomp-dev/changelog.Debian.gz
libomp-dev: /usr/share/doc/libomp-dev/copyright

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: libomp5 6.0.1-1build1
Uname: Linux 4.18.19-041819-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 23 13:04:04 2018
Dependencies:
 gcc-8-base 8.2.0-7ubuntu1
 libc6 2.28-0ubuntu1
 libgcc1 1:8.2.0-7ubuntu1
 libidn2-0 2.0.5-1
 libunistring2 0.9.10-1ubuntu1
InstallationDate: Installed on 2018-03-27 (240 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180327)
SourcePackage: openmprtl
UpgradeStatus: Upgraded to cosmic on 2018-10-19 (34 days ago)

** Affects: openmprtl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804762

Title:
  libomp5 packaging problem: *.so are in -dev package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openmprtl/+bug/1804762/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to