You are not logged in.

#1 2021-07-30 23:27:48

korimitsu
Member
Registered: 2016-08-14
Posts: 122

dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

dislocker 0.7.3-2 installed, but still requires "libmbedcrypto.so.6", however installed on system are:

$ dislocker 2>&1  | head -n 2
dislocker by Romain Coltel, v0.7.2 (compiled for Linux/x86_64)
Compiled version: master:7e4c637
dislocker-fuse: error while loading shared libraries: libmbedcrypto.so.6: cannot open shared object file: No such file or directory
$ find /usr/lib/ | grep 'libmbedcrypto' | xargs file
/usr/lib/libmbedcrypto.so:        symbolic link to libmbedcrypto.so.7
/usr/lib/libmbedcrypto.a:         current ar archive
/usr/lib/libmbedcrypto.so.7:      symbolic link to libmbedcrypto.so.2.27.0
/usr/lib/libmbedcrypto.so.2.27.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b135bc78587d99146fcfb273d04c854ae71dd75f, stripped

Fixed for now with:

sudo ln -s /usr/lib/libmbedcrypto.so /usr/lib/libmbedcrypto.so.6

Last edited by korimitsu (2021-07-30 23:28:26)

Offline

#2 2021-07-30 23:31:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

DO NOT MAKE SYMLINKS LIKE THAT.

This is an AUR package, you are responsible for building things against new libs when they get updated.

Offline

#3 2021-08-15 05:58:18

korimitsu
Member
Registered: 2016-08-14
Posts: 122

Re: dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

Fixed by package maintainers, thanks!

Offline

#4 2021-08-16 01:11:45

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

korimitsu wrote:

Fixed by package maintainers, thanks!

https://aur.archlinux.org/packages/disl … ent-820013

mrxx wrote:

@korimitsu: try to uninstall and then reinstall the package.

Btw. please do not misuse the "Flag package out of date" function for reporting problems. (Install dislocker-git instead if you want to use the latest version.)

https://aur.archlinux.org/cgit/aur.git/log/?h=dislocker shows no changes to the PKGBUILD since you started this thread.
Please reread Scimmia's post.

Offline

#5 2021-08-16 01:15:36

korimitsu
Member
Registered: 2016-08-14
Posts: 122

Re: dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

Then it were libmbedcrypto libraries that got updated.

Offline

#6 2021-08-16 01:22:45

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

korimitsu wrote:

Then it were libmbedcrypto libraries that got updated.

Not the one provided by mbedtls https://archlinux.org/packages/communit … 4/mbedtls/
Did you forget about the symlink you created Scimmia told you to remove?  Or did some AUR helper rebuild then reinstall dislocker and you did not notice?
Edit:
You can query a packages install and build times.

pacman -Qi dislocker

Last edited by loqs (2021-08-16 01:25:11)

Offline

#7 2021-08-16 01:28:39

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: dislocker 0.7.3-2 still requires old library libmbedcrypto.so.6

Nothing was updated.

The only thing that changed was that you rebuilt the package as suggested in Scimmia's post - it's your responsibility to rebuild AUR packages when any dependent libraries get a soname bump.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB