** Description changed:
+ [Impact]
+
+ * Shared library shipped in the unused ldpath, instead of a normal
+ multiarch location.
+
+ [Test Case]
+
+ * $ sudo smc_run ls
+
+ Bad output:
+ ERROR: ld.so: object 'libsmc-preload.so' from LD_PRELOAD cannot be preloaded
(cannot open shared object file): ignored.
+
+ [Regression Potential]
+
+ * This is a regression from cosmic, which was fixed in eoan. Only
+ packaging is changed to move the library into /usr/lib/{multiarch}
+ location.
+
+ [Other Info]
+
+ * Original bug report
+
The shared library libsmc-preload.so (shipped with smc-tools) is
installed in the wrong place:
root@m3545040:~# smc_run ls
ERROR: ld.so: object 'libsmc-preload.so' from LD_PRELOAD cannot be preloaded
(cannot open shared object file): ignored.
root@m3545040:~# dpkg -L smc-tools
/.
/usr
/usr/bin
/usr/bin/smc_dbg
/usr/bin/smc_pnet
/usr/bin/smc_rnics
/usr/bin/smc_run
/usr/bin/smcss
/usr/lib64
/usr/lib64/libsmc-preload.so
/usr/share
/usr/share/doc
/usr/share/doc/smc-tools
/usr/share/doc/smc-tools/changelog.Debian.gz
/usr/share/doc/smc-tools/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/smc-tools
/usr/share/man
/usr/share/man/man7
/usr/share/man/man7/af_smc.7.gz
/usr/share/man/man8
/usr/share/man/man8/smc_pnet.8.gz
/usr/share/man/man8/smc_rnics.8.gz
/usr/share/man/man8/smc_run.8.gz
/usr/share/man/man8/smcss.8.gz
root@m3545040:~# mv /usr/lib64/libsmc-preload.so /usr/lib/s390x-linux-gnu/
root@m3545040:~# ldconfig
root@m3545040:~# smc_run ls
- root@m3545040:~#
+ root@m3545040:~#
It is currently packaged to install to /usr/lib64/libsmc-preload.so,
which is not a search path for shared libraries. It should rather
install to /usr/lib/s390x-linux-gnu/ instead.
** Changed in: smc-tools (Ubuntu Disco)
Status: Confirmed => Fix Committed
** Changed in: smc-tools (Ubuntu Disco)
Status: Fix Committed => In Progress
** Changed in: ubuntu-z-systems
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1841032
Title:
[UBUNTU] 19.04 - Packaging problem with smc-tools 1.2.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1841032/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs