Bug#811283: libomp5: missing SONAME link /usr/lib/libomp.so -> libomp.so.5

Roman Lebedev lebedev.ri at gmail.com
Sun Jan 17 16:30:36 UTC 2016


Package: libomp5
Version: 3.7.0-3
Severity: serious

Dear Maintainer,

This is almost exact copy of Debian Bug #775257 titled:
libiomp5: missing SONAME link /usr/lib/libiomp5.so -> libiomp5.so.5

libomp5 misses the SONAME link, which breaks all clang openmp support.

You can test it by:

$ cat test.c 
#include <omp.h>
int main() {
#ifdef _OPENMP
return 0;
#else
breaks_on_purpose
#endif

$ clang-3.7 -fopenmp=libomp test.c 
/usr/bin/ld: error: cannot find -lomp
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

As i'm being told, libomp-dev install those symlinks.
Indeed, if i install libomp-dev, clang openmp works.

But then why:
0. symlinks are installed by libomp-dev and not libomp5?
1. clang doesn't pull libomp-dev, since it does not work without those symlinks?

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages libomp5 depends on:
ii  libc6  2.21-6

libomp5 recommends no packages.

libomp5 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list