Public bug reported:

--- Problem Description by Grgo M.@IBM ---
PKCS#11 Applications fail to find libopencryptoki.so library due to missing 
/etc/ld.so.conf.d entry.
 
---uname output---
Linux SYSTEM 6.2.0-34-generic #34-Ubuntu SMP Mon Sep  4 12:26:49 UTC 2023 s390x 
s390x s390x GNU/Linux
 
Machine Type = Manufacturer:         IBM Type:                 3931  Model:     
           704              A01 Sequence Code:        0000000000065DC8 
 

---Steps to Reproduce---
Use any application which uses dlopen interface to load libopencryptoki.so 
library.
e.g. build opencryptoki testcases manually from official opencryptoki sources.

# git clone https://github.com/opencryptoki/opencryptoki
# cd opencryptoki
# ./bootstrap.sh
# ./configure --enable-testcases
# make
# ./testcases/crypto/ec_tests -slot 0
 
Userspace tool common name: opencryptoki 3.20.0+dfsg-0ubuntu1.1 
 
The userspace tool has the following bit modes: 64bit 

Userspace rpm: opencryptoki

Userspace tool obtained from project website:  na

== Comment: #2 <Ingo F.> - 2023-11-03 04:24:48 ==
Opencryptoki generates an appropriate ld.so.conf.d entry 
/etc/ld.so.conf.d/opencryptoki-$(target_cpu).conf during 'make install'. 
Ubuntu should include this into its package to allow applications to find the 
libopencryptoki.so library when using dlopen().

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


** Tags: architecture-s39064 bugnameltc-203847 severity-high 
targetmilestone-inin2304

** Tags added: architecture-s39064 bugnameltc-203847 severity-high
targetmilestone-inin2304

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

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2042677

Title:
  [UBUNTU 23.04] PKCS#11 Applications fail to find libopencryptoki.so
  library due to missing /etc/ld.so.conf.d entry.

Status in linux package in Ubuntu:
  New

Bug description:
  --- Problem Description by Grgo M.@IBM ---
  PKCS#11 Applications fail to find libopencryptoki.so library due to missing 
/etc/ld.so.conf.d entry.
   
  ---uname output---
  Linux SYSTEM 6.2.0-34-generic #34-Ubuntu SMP Mon Sep  4 12:26:49 UTC 2023 
s390x s390x s390x GNU/Linux
   
  Machine Type = Manufacturer:         IBM Type:                 3931  Model:   
             704              A01 Sequence Code:        0000000000065DC8 
   

  ---Steps to Reproduce---
  Use any application which uses dlopen interface to load libopencryptoki.so 
library.
  e.g. build opencryptoki testcases manually from official opencryptoki sources.

  # git clone https://github.com/opencryptoki/opencryptoki
  # cd opencryptoki
  # ./bootstrap.sh
  # ./configure --enable-testcases
  # make
  # ./testcases/crypto/ec_tests -slot 0
   
  Userspace tool common name: opencryptoki 3.20.0+dfsg-0ubuntu1.1 
   
  The userspace tool has the following bit modes: 64bit 

  Userspace rpm: opencryptoki

  Userspace tool obtained from project website:  na

  == Comment: #2 <Ingo F.> - 2023-11-03 04:24:48 ==
  Opencryptoki generates an appropriate ld.so.conf.d entry 
/etc/ld.so.conf.d/opencryptoki-$(target_cpu).conf during 'make install'. 
  Ubuntu should include this into its package to allow applications to find the 
libopencryptoki.so library when using dlopen().

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to