Public bug reported:

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:~# 

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.

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


** Tags: architecture-s39064 bugnameltc-180765 severity-high 
targetmilestone-inin1904

** Tags added: architecture-s39064 bugnameltc-180765 severity-high
targetmilestone-inin1904

** 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/1841032

Title:
  [UBUNTU] 19.04 - Packaging problem with smc-tools 1.2.0

Status in linux package in Ubuntu:
  New

Bug description:
  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:~# 

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1841032/+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