libopencryptoki-dev Package: -lopencryptoki option does not find provided /usr/lib/opencryptoki/libopencryptoki.so Library file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Undecided
|
Unassigned | ||
opencryptoki (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov |
Bug Description
The ld linker is not able to find the libopenctryptoki.so library provided by the libopencryptoki-dev package due to the link location of /usr/lib/
user@s35lp35:
...
/usr/lib/
...
user@s35lp35:
lrwxrwxrwx 1 root root 24 Feb 24 12:57 /usr/lib/
To remedy, currently there are the known possibilities to use
A) -L//usr/
B) export LD_LIBRARY_
C) Add a file to /etc/ld.so.conf.d/
Requested solution:
To be able to compile and link just using -lopencryptoki would be convenient.
Running the built executable should then find the library via it's SONAME libopencryptoki
tags: | added: architecture-s39064 bugnameltc-140284 severity-medium targetmilestone-inin1604 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in opencryptoki (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | New → Fix Committed |
Changed in opencryptoki (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox) |
1. Please file request upstream on sourceforge to provide pkg-config files
2. Please file request upstream to move .so, cause clearly people don't compile things from the subdir
3. I'll add an extra symlink in the -dev package