:: [devuan-dev] bug#580: libguestfs-to…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Joerg Schiermeier
Date:  
À: 580, Mark Hindley
Sujet: [devuan-dev] bug#580: libguestfs-tools crashed because of unsolved dependcies to libsystemd.so on Devuan
Hello Mark,

on Thursday, May 13th, 2021 at 23:12 o'clock you wrote:

MH> You should have either one of


MH> /usr/lib/x86_64-linux-gnu/libsytemd.so.0

$ ls -l /usr/lib/x86_64-linux-gnu/libsytemd.so.0
ls: cannot access '/usr/lib/x86_64-linux-gnu/libsytemd.so.0': No such file or directory

MH> /lib/x86_64-linux-gnu/libsytemd.so.0

$ ls -l /lib/x86_64-linux-gnu/libsytemd.so.0
ls: cannot access '/lib/x86_64-linux-gnu/libsytemd.so.0': No such file or directory

MH> Which is present?

Neither in the first nor in the second location


Than I tried this:


> libsystemd0. Are you able to verify that either libsystemd0 or libelogind0
> (which provides libsystemd0) is installed?


# dpkg -s libsystemd0
dpkg-query: package 'libsystemd0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.

# dpkg -s libelogind0
dpkg-query: error: --status needs a valid package name but 'libelogind0' is not: ambiguous package name 'libelogind0' with more than one installed instance

Use --help for help about querying packages.


Hmmm...


# dpkg -l '*' | grep -i libelogind0
ii  libelogind0:amd64                                                         241.4-2                                                 amd64        user, seat and session management library
ii  libelogind0:i386                                                          241.4-2                                                 i386         user, seat and session management library


Aha, OK.

So:
# dpkg -L libelogind0:amd64
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libelogind.so.0.25.0
/usr/share
/usr/share/doc
/usr/share/doc/libelogind0
/usr/share/doc/libelogind0/README.Debian
/usr/share/doc/libelogind0/changelog.Debian.gz
/usr/share/doc/libelogind0/copyright
/usr/lib/x86_64-linux-gnu/libelogind.so.0
/usr/lib/x86_64-linux-gnu/libsystemd.so.0

and:

# ls -l /usr/lib/x86_64-linux-gnu/libelogind.so.0
lrwxrwxrwx. 1 root root 20 Jan 1 2020 /usr/lib/x86_64-linux-gnu/libelogind.so.0 -> libelogind.so.0.25.0

# ls -l /usr/lib/x86_64-linux-gnu/libsystemd.so.0
lrwxrwxrwx. 1 root root 15 Jan 1 2020 /usr/lib/x86_64-linux-gnu/libsystemd.so.0 -> libelogind.so.0


# ls -l /usr/lib/x86_64-linux-gnu/libelogind.so.0.25.0
-rw-r--r--. 1 root root 830880 Jan 1 2020 /usr/lib/x86_64-linux-gnu/libelogind.so.0.25.0

I hope this will help.

--

Kind regards
Joerg Schiermeier
Bielefeld/Germany