[Bug 1804762] Re: libomp5 packaging problem: *.so are in -dev package

2018-12-05 Thread Dmitriy Geels
Ok, I got it.

In my case error was thrown by libmkl_intel_thread.so, it dlopen() libiomp5.so. 
This thread describes the reason: 
https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/402497

So I chose the wrong package, must be libmkl-rt.

-- 
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

[Bug 1804762] Re: libomp5 packaging problem: *.so are in -dev package

2018-12-04 Thread Juhani Numminen
Hi!

I'm asking for the details because I think they do matter. It could be
that the problem is resolved by changing your link flags.

Libomp's packaging looks to be arranged in the correct way. The -dev
package contains files ending in .so. Those are symbolic links to a file
ending in .so.5 that is contained in the libomp5 package. Usually a
compiled program only requires the .so.5 file to be present. This is how
it's described in Debian policy: https://www.debian.org/doc/debian-
policy/ch-sharedlibs.html

My perception is that when I link a program with -liomp5, I get this
dependency: "libomp.so.5 => /usr/lib/x86_64-linux-gnu/libomp.so.5
(0x7f78ae8b2000)".

Because *.so in -dev package is usually the correct thing to do in
Ubuntu, I believe your conclusion that the packaging is wrong, might not
be true.


Regards,
Juhani

-- 
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

[Bug 1804762] Re: libomp5 packaging problem: *.so are in -dev package

2018-12-04 Thread Dmitriy Geels
Hi!

This doesn't really matter.
I'm building dlib (http://dlib.net/) with Intel MKL libraries. One of them 
loads libiomp5.so dynamically and that causes "undefined symbol" error. Real 
reason or error -- wrong packaging.

-- 
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

[Bug 1804762] Re: libomp5 packaging problem: *.so are in -dev package

2018-12-04 Thread Juhani Numminen
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?

-- 
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