You have been subscribed to a public bug:

---Problem Description---

[Ubuntu 22.04] smc_run does not work, libsmc-preload.so cannot be preloaded
===========================================================================

The reason for this is that the aforementioned shared object is
installed under: /usr/lib64/libsmc-preload.so

Which is AFAICT not what we want, because AFAIU it violates the Debian
Policy Manual (https://www.debian.org/doc/debian-policy/ch-
opersys.html#s-fhs), and ld.so in Ubuntu has a default search path that
understandably does not cover /usr/lib64.

Interestingly the upstream Make file does try to detect if we are run on
Ubuntu, and choose the install path accordingly.

Hereby it relies on "lsb_release -si" returning "Ubuntu", which may or
may not be a good idea -- I don't know.

In any case if the upstream Makefile does not suit Ubuntu/Debian, then
the packager is ought to patch it.

Thus in my opinion this is a packaging problem.
 
Contact Information = pa...@de.ibm.com 
 
---uname output---
Linux t3545018.lnxne.boe 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:30:43 
UTC 2023 s390x s390x s390x GNU/Linux
 
Machine Type = LPAR 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 $ smc_run ping 172.18.39.17
ERROR: ld.so: object 'libsmc-preload.so' from LD_PRELOAD cannot be preloaded 
(cannot open shared object file): ignored.
PING 172.18.39.17 (172.18.39.17) 56(84) bytes of data.

BTW
$ LD_PRELOAD=libsmc-preload.so LD_DEBUG=libs LD_LIBRARY_PATH=/usr/lib64/ ping 
172.18.39.17
does work as expected.
 
Userspace tool common name: smc_run 
 
The userspace tool has the following bit modes: na 

Userspace rpm: smc-tools_1.7.0-0ubuntu1_s390x.deb

Userspace tool obtained from project website:  na 
 
*Additional Instructions for pa...@de.ibm.com:
-Attach ltrace and strace of userspace application.

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


** Tags: architecture-s39064 bugnameltc-201924 severity-high 
targetmilestone-inin---
-- 
[Ubuntu 22.04] smc_run does not work, libsmc-preload.so cannot be preloaded
https://bugs.launchpad.net/bugs/2009495
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

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