FS#77205 - [lxd] Missing shared lib after upgrading to raft 0.17.1
Attached to Project:
Community Packages
Opened by Gregory (rollenwiese) - Saturday, 21 January 2023, 17:17 GMT
Last edited by Toolybird (Toolybird) - Monday, 23 January 2023, 06:42 GMT
Opened by Gregory (rollenwiese) - Saturday, 21 January 2023, 17:17 GMT
Last edited by Toolybird (Toolybird) - Monday, 23 January 2023, 06:42 GMT
|
Details
/usr/bin/lxd: error while loading shared libraries:
libraft.so.2: cannot open shared object file: No such file
or directory
tried downgrading and recieve: /usr/bin/lxd: error while loading shared libraries: libraft.so.3: cannot open shared object file: No such file or directory |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 23 January 2023, 06:42 GMT
Reason for closing: Fixed
Additional comments about closing: lxd 5.10-2
Monday, 23 January 2023, 06:42 GMT
Reason for closing: Fixed
Additional comments about closing: lxd 5.10-2
Dupe:
FS#77223[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_dependencies
```
$ (cd / && 7z e -so /var/cache/pacman/pkg/raft-0.16.0-1-x86_64.pkg.tar.zst | sudo tar x usr/lib/libraft.so.2.0.0)
$ (cd / && 7z e -so /var/cache/pacman/pkg/raft-0.16.0-1-x86_64.pkg.tar.zst | sudo tar x usr/lib/libraft.so.2)
$ ldd $(which lxd) | grep raft
libraft.so.2 => /usr/lib/libraft.so.2 (0x00007efc16670000)
libraft.so.3 => /usr/lib/libraft.so.3 (0x00007efc12c73000)
````
I ended up rolling back to the following (old lxd, dqlite, new raft) plus keeping the extracted libraft.so.2. Although with the old copy of dqlite the newer libraft should not be needed.
```
$ pacman -Qi lxd dqlite raft | grep -E '^(Name|Version)'
Name : lxd
Version : 5.9-1
Name : dqlite
Version : 1.13.0-1
Name : raft
Version : 0.17.1-1
$ ldd $(which lxd) | grep -E 'lib(raft|dqlite)'
libraft.so.2 => /usr/lib/libraft.so.2 (0x00007f180ad19000)
libdqlite.so.0 => /usr/lib/libdqlite.so.0 (0x00007f180ac95000)
```
Can these affected please take the new version for a spin and report back? (5.10-2)