libomp5 packaging problem: *.so are in -dev package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openmprtl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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:/
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/
libomp5: /usr/share/
libomp5: /usr/share/
libomp5: /usr/share/
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/
libomp-dev: /usr/lib/
libomp-dev: /usr/lib/
libomp-dev: /usr/lib/
libomp-dev: /usr/share/
libomp-dev: /usr/share/
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: libomp5 6.0.1-1build1
Uname: Linux 4.18.19-
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)
Hi,
please provide some information about your library and application. What is the linker command to produce the application? What is the full output of your failing application? What does ldd tell about your executable?