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.
The shared library libsmc-preload.so (shipped with smc-tools) is installed in the wrong place:
root@m3545040:~# smc_run ls libsmc- preload. so doc/smc- tools doc/smc- tools/changelog .Debian. gz doc/smc- tools/copyright lintian/ overrides lintian/ overrides/ smc-tools man/man7/ af_smc. 7.gz man/man8/ smc_pnet. 8.gz man/man8/ smc_rnics. 8.gz man/man8/ smc_run. 8.gz man/man8/ smcss.8. gz libsmc- preload. so /usr/lib/ s390x-linux- gnu/
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/
/usr/share
/usr/share/doc
/usr/share/
/usr/share/
/usr/share/
/usr/share/lintian
/usr/share/
/usr/share/
/usr/share/man
/usr/share/man/man7
/usr/share/
/usr/share/man/man8
/usr/share/
/usr/share/
/usr/share/
/usr/share/
root@m3545040:~# mv /usr/lib64/
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.