Answers for "yay: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory"

0

libGLU.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libglu1
Posted by: Guest on July-13-2021
5

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

1- Remove yay by running
$ sudo pacman -R yay

2- Make a new directory and change to it (makes for easier cleanup): 
$ mkdir /tmp/yay && cd /tmp/yay

3- Download the latest PKGBUILD for yay by running 
$ curl -OJ 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay'

4- Build and install the package by running 
$ makepkg -si

5- Get rid of of the evidence: 
$ rm -rf /tmp/yay
Posted by: Guest on June-22-2021
-1

error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory"

sudo apt-get install libaio1 libaio-dev
Posted by: Guest on November-05-2020
-1

error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

sudo apt-get install libasound2
Posted by: Guest on December-11-2020
2

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

One of the solution is to use

export LD_LIBRARY_PATH=PATH_TO_LIBRARY_LIBMOD2



1. You check the path of libmod2.so

2. Replace in place of PATH_TO_LIBRARY_LIBMOD2

Note: Don't add the filename. It just needs the path.
Posted by: Guest on June-15-2021
-1

libcublas.so.9.0: cannot open shared object file: No such file or directory

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
Posted by: Guest on March-30-2020

Code answers related to "yay: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory"

Browse Popular Code Answers by Language