/usr/lib/pkgconfig content accidentally deleted
Hello,
First of all, excuse me for my english, I'm french. Yesterday, I was creating a symbolic link to /usr/lib/pkgconfig on /usr/local/lib/pkgconfig, my experimentation didn't work (my compilation always failed). So I tried to delete this link, but I have accidentally deleted the content of /usr/lib/pkgconfig (All the *.pc files). I've seen a similar thread (http://www.linuxquestions.org/questi...cident-458254/) which can solve this problem for Slackware but not in my case (it imply to have /var/log/packages, I have not). Is there any way to rebuild all theses *.pc files by one command ? Or by multiples command ? I'm running out of ideas. Thanks you for reading :). |
What distribution are you working with?
|
Quote:
I wonder if it is possible to simply do a portage update to restore the files. If not then maybe the files could be extracted from a Gentoo installation kit, then do a portage update. It's been quite a while since I used Gentoo so I'm not sure about these suggestions. |
I'm sorry, yes I'm using Gentoo :)
I found a pseudo-solution with emerge : # emerge -e world (man : Reinstalls all world packages and their dependencies to the current USE specifications while differing from the installed set of packages as little as possible.). It also creates pc files into /usr/lib/pkgconfig for the libraries. It's not the better solution, but it seems working... |
All times are GMT -5. The time now is 02:55 PM. |