Public bug reported:

---Problem Description---
Summary
=======
The 'libopencryptoki0' package is missing a library link of 
/usr/lib/libopencryptoki.so -> opencryptoki/libopencryptoki.so.0

Details
=====
The opencryptoki library is not found by dynamically linked executables if 
/usr/lib/libopencryptoki.so does not exist as link to the opencryptoki library.

root@s8314007:~#  dpkg -L libopencryptoki0|grep libopencryptoki
/usr/lib/opencryptoki/libopencryptoki.so.0.0.0
...
/usr/lib/libopencryptoki.so.0
/usr/lib/libopencryptoki.so.0.0.0
/usr/lib/opencryptoki/libopencryptoki.so.0
root@s8314007:~# ll /usr/lib/libopencryptoki.so.0
lrwxrwxrwx 1 root root 33 Feb 24 12:57 /usr/lib/libopencryptoki.so.0 -> 
opencryptoki/libopencryptoki.so.0
root@s8314007:~# ll /usr/lib/libopencryptoki.so.0.0.0
lrwxrwxrwx 1 root root 37 Feb 24 12:57 /usr/lib/libopencryptoki.so.0.0.0 -> 
opencryptoki/libopencryptoki.so.0.0.0
root@s8314007:~# ll /usr/lib/opencryptoki/libopencryptoki.so.0.0.0
-rw-r--r-- 1 root root 80840 Feb 24 12:57 
/usr/lib/opencryptoki/libopencryptoki.so.0.0.0

 
---uname output---
Linux s8314007 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:07:12 UTC 2016 
s390x s390x s390x GNU/Linux
 
Machine Type = IBM Type:  2964 Model:    702     N96 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 1) Install the opencryptoki 3.4.1 package if not already installed/provided

2) Bring up and initialize the EP11 Token:
    modprobe ap
    lszcrypt -VVV     // check for a CEX5P card to be available 'online'
    systemctl start pkcsslotd.service
    pkcsconf -t   // check for the EP11 Token slot number
    pkcsconf -c <SLOT> -I
    pkcsconf -c <SLOT> -P
    pkcsconf -c <SLOT> -u
    pkcsconf -c <SLOT> -p

3) Copy the opencryptoki-3.4.1.tgz package to the system (mind
opencryptoki 3.4.1 should be already provided but this package also
contains the OC testcases.

4) ./bootstrap.sh, ./configure --enable-testcases, make

5) cd testcases/crypto; ./aes_tests -slot 4 (or whichever slot the EP11
token is)

** Affects: ubuntu
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-139624 severity-high 
targetmilestone-inin1604

** Tags added: architecture-s39064 bugnameltc-139624 severity-high
targetmilestone-inin1604

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

-- 
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/+bug/1561598/+subscriptions

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

Reply via email to