make: *** No rule to make target `/lib/libacl.so', needed by `lib/kstyle_qtcurve_config.so'. Stop. make: *** [config/CMakeFiles/kstyle_qtcurve_config.dir/all] Error 2 make: *** [all] Error 2
There is obviously a file missing, in this case to compile a specific KDE 4 theme. There are now two ways of searching for the package which contains the file: either through the command line, or through an online package database.
The command line of course depends on the used package manager, here are some examples:
apt-file -x search libacl.so* urpmf libacl.so yum whatprovides libacl.so* zypper wp libacl.so
-x in case of
apt-file makes it possible to use regular expressions. Except for zypper all commands above can be used with regular expressions or show matches if the searched expression is only part of a result (like
The package databases depend again on the distribution, but at least for the rpm based distributions there is one common place: rpm.pbone.net. Especially the advanced link is of interest since the results can be filtered by distribution and distribution version.
For Ubuntu based distributions there is the Ubuntu package database, but make sure you use the second entry field. Unfortunately, the database only supports the right file names. Searching for
libacl will bring you zero results – which is, to be honest, quite stupid. Gentoo users can try portagefilelist.de.
I am well aware that each distribution has again its own database – but that’s not handy if you deal with different distributions each day. If you now more commands for other distribution tools or other central databases for file/package searches, please leave a comment and I will add them.