steven-omaha / pacdef

multi-backend declarative package manager for Linux
GNU General Public License v3.0
332 stars 13 forks source link

libalpm.so.13: cannot open shared object file #57

Closed gro-david closed 6 months ago

gro-david commented 6 months ago

pacdef: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

Since yesterday this is happening any time I want to run pacdef. Before that nothing like this would ever occur.

j4kub5 commented 6 months ago

Same here on vanilla Archlinux.

Also, yay -S pacdef finishes with:

error: failed to run custom build command for `alpm v2.2.3`

Caused by:
  process didn't exit successfully: `/home/.../.cache/yay/pacdef/src/pacdef-1.4.1/target/release/build/alpm-abd243d76e132e59/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/.../.dev/cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-2.2.3/build.rs:25:13:
  this version of alpm.rs does not support libalpm v14.0.0 only v13.x.x is supported
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pacdef-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pacdef - exit status 4
steven-omaha commented 6 months ago

Thanks for the report, will get to it hopefully tomorrow.

EDIT: It's an updated dependency and should be fixed by a simple release.

Note to self.

$ cargo outdated -d 2 
Name                       Project  Compat   Latest   Kind    Platform
----                       -------  ------   ------   ----    --------
anyhow                     1.0.79   1.0.81   1.0.81   Normal  ---
pacdef_core->alpm          2.2.3    ---      3.0.5    Normal  ---
pacdef_core->anyhow        1.0.79   1.0.81   1.0.81   Normal  ---
pacdef_core->clap          4.5.0    4.5.3    4.5.3    Normal  ---
pacdef_core->rust-apt      0.5.1    ---      0.7.0    Normal  ---
pacdef_core->serde         1.0.196  1.0.197  1.0.197  Normal  ---
pacdef_core->serde_derive  1.0.196  1.0.197  1.0.197  Normal  ---
pacdef_core->serde_json    1.0.113  1.0.114  1.0.114  Normal  ---
pacdef_core->serde_yaml    0.9.31   0.9.33   0.9.33   Normal  ---
pacdef_core->walkdir       2.4.0    2.5.0    2.5.0    Normal  ---
steven-omaha commented 6 months ago

Fixed in v1.4.2 via 1bcb7f80cd2fbdbe0bd843f9d88c6159bd6245fa