Missing libraries - how to install?

Using CrossOver to install an app for mp3 player
Crossover complains about these librarires
Missing 32-bit liblber-2.4.so.2 library: This library lets Windows applications access LDAP servers.
Missing 32-bit libsane.so.1 library: The SANE library allows Windows applications to access document scanners.

I tried installing them with sudo pacman -Syu libldap2.4_2 → no luck
also these did not seem to do the trick

 sudo pacman -Syu libldap
 sudo pacman -Syu lib32-libldap
 sudo pacman -Syu sane

any advice?

Look into your /etc/pacman.conf and make sure you have multilib repo enabled. It should read:

[multilib]
Include = /etc/pacman.d/mirrorlist
 pacman -Ss lib32-libldap 
multilib/lib32-libldap 2.6.0-1
    Lightweight Directory Access Protocol (LDAP) client libraries (32-bit)
7 Likes

Thank you
Somehow it has not solved the problem.
I am contacting CrossOver

1 Like

libldap2.4 is in the AUR, so you’ll need to use makepkg or an AUR helper (e.g. yay or paru).

However, there’s no 32-bit library available there. :pensive:

1 Like

Thank you - I’ll see what can be done.
When installling libldap2.4 I got this back:

==> Validating source files with sha256sums...
    openldap-2.4.59.tgz ... Passed
    openldap-2.4.59.tgz.asc ... Skipped
==> Verifying source file signatures with gpg...
    openldap-2.4.59.tgz ... FAILED (unknown public key 7F67D5FD1CE1CBCE)
==> ERROR: One or more PGP signatures could not be verified!

is the last error a significant one?

I would check your keyserver. I believe if it’s an older install we used to use the sks-keyserver instead of the ubuntu keyserver.

Personally I would update that and refresh keys if that’s relevant. You might then be able to import the key.

Otherwise, you should manually import the key (again, I would suggest from the ubuntu keyserver) and then you should be good to install.

You can do that from here:

https://wiki.archlinux.org/title/GnuPG#Import_a_public_key

This may also be helpful for you:

https://wiki.archlinux.org/title/Pacman/Package_signing#Cannot_import_keys

1 Like

Thank you @fbodymechanic
But I have a real mental block with public private keys and chains and keychains and servers and pgp and gpg and all such things.
I’ll see what can be done.