To compile against system library and headers, one needs a -dev package,
if available.

Compiling and linking against the .so from the -dev package, will gain a
shared library dependeny on the sonamed library (e.g. .so.0 in this
case).

This is exactly the same how all -dev and runtime packages work on
Debian, Ubuntu, RHEL, Suse, etc. This is considered normal, you can find
further developer documentation at the Ubuntu Packaging guide, shared
libraries section - http://packaging.ubuntu.com/html/libraries.html

E.g. when building C apps/libraries that link with OpenSSL one installs
libssl-dev. The resulting/produced binaries gained a dependency on
libssl1.0.0 and only the runtime package needs to be installed on the
deployed systems.

Similarly, if one uses dlopen() one should dlopen() libraries with a
soname, e.g. "libfoo.so.0".

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

Title:
  Missing link to opencryptoki library by libopencryptoki0 package

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

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

Reply via email to