Find out what library is missing Fedora 22

Sometimes some libraries are missing. This leads to the following error message:

./command: error while loading shared libraries: cannot open shared object file: No such file or directory

It will only display the first missing library. So first you can use the following command to identify them:

ldd idaq | grep found

This might lead to the following output, where you can see a list of all missing libraries: => not found => not found => not found => not found => not found => not found => not found => not found

The next step is finding out which library you need to install (32-Bit libraries in /usr/lib, 64-Bit libraries in /usr/lib64):

dnf provides /usr/lib/

This will output something like:


If you want to install it you can omit the version number and the .fc22:

dnf install glib2-devel.i686

Leave a comment

Your email address will not be published. Required fields are marked *